зеркало из https://github.com/mozilla/pjs.git
Added focus managment
This commit is contained in:
Родитель
185dc1b271
Коммит
e5acf9ec50
|
@ -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:
|
||||
|
|
Загрузка…
Ссылка в новой задаче