mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 21:00:50 +00:00
Added focus managment
This commit is contained in:
parent
07135ba1a4
commit
d7df9f5691
@ -58,8 +58,7 @@ nsresult nsAppShell::Run()
|
||||
nsMacMessagePump *macpump;
|
||||
|
||||
|
||||
mMessages = new nsMacMessenger();
|
||||
macpump = new nsMacMessagePump( mMessages );
|
||||
macpump = new nsMacMessagePump(mToolKit);
|
||||
|
||||
macpump->DoMessagePump();
|
||||
|
||||
@ -76,9 +75,6 @@ nsMacMessagePump *macpump;
|
||||
//-------------------------------------------------------------------------
|
||||
void nsAppShell::Exit()
|
||||
{
|
||||
if(mMessages)
|
||||
mMessages->Quit();
|
||||
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
@ -90,7 +86,6 @@ nsAppShell::nsAppShell()
|
||||
{
|
||||
mRefCnt = 0;
|
||||
mDispatchListener = 0;
|
||||
mMessages = 0;
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
|
@ -39,7 +39,6 @@ class nsAppShell : public nsIAppShell
|
||||
private:
|
||||
nsDispatchListener *mDispatchListener;
|
||||
nsToolkit *mToolKit;
|
||||
nsMacMessenger *mMessages;
|
||||
|
||||
// CLASS METHODS
|
||||
private:
|
||||
|
Loading…
x
Reference in New Issue
Block a user