зеркало из https://github.com/mozilla/gecko-dev.git
Remove nsMacMessageSink.cpp from the widget module, since it is already in WidgetSupport. Bug 110109 r=pinkerton, sr=beard
This commit is contained in:
Родитель
6230b92d8f
Коммит
6c5447787a
Двоичные данные
widget/macbuild/widget.mcp
Двоичные данные
widget/macbuild/widget.mcp
Двоичный файл не отображается.
|
@ -63,8 +63,6 @@ PRBool nsMacMessageSink::DispatchOSEvent(
|
|||
return eventHandled;
|
||||
}
|
||||
|
||||
|
||||
#if USE_MENUSELECT
|
||||
//-------------------------------------------------------------------------
|
||||
//
|
||||
// DispatchMenuCommand
|
||||
|
@ -77,6 +75,7 @@ PRBool nsMacMessageSink::DispatchMenuCommand(
|
|||
{
|
||||
PRBool eventHandled = PR_FALSE;
|
||||
|
||||
#if USE_MENUSELECT
|
||||
nsMacWindow* raptorWindow = GetNSWindowFromMacWindow(aWindow);
|
||||
// prevent the window being deleted while we're in its methods
|
||||
nsCOMPtr<nsIWidget> kungFuDeathGrip(NS_STATIC_CAST(nsIWidget*, raptorWindow));
|
||||
|
@ -84,9 +83,10 @@ PRBool nsMacMessageSink::DispatchMenuCommand(
|
|||
{
|
||||
eventHandled = raptorWindow->HandleMenuCommand(anEvent, menuResult);
|
||||
}
|
||||
#endif
|
||||
|
||||
return eventHandled;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#pragma mark -
|
||||
|
|
|
@ -76,9 +76,7 @@ private:
|
|||
public:
|
||||
|
||||
PRBool DispatchOSEvent(EventRecord &anEvent, WindowPtr aWindow);
|
||||
#if USE_MENUSELECT
|
||||
PRBool DispatchMenuCommand(EventRecord &anEvent, long menuResult, WindowPtr aWindow);
|
||||
#endif
|
||||
|
||||
static void AddRaptorWindowToList(WindowPtr wind, nsMacWindow* theRaptorWindow);
|
||||
static void RemoveRaptorWindowFromList(WindowPtr wind);
|
||||
|
|
Загрузка…
Ссылка в новой задаче