From 9e1c876e58fcbfd12bd2670200c9d0210eac3f8e Mon Sep 17 00:00:00 2001 From: "dcone%netscape.com" Date: Thu, 10 Sep 1998 21:25:47 +0000 Subject: [PATCH] Added focus managment git-svn-id: svn://10.0.0.236/trunk@9766 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/widget/src/mac/nsAppShell.cpp | 7 +------ mozilla/widget/src/mac/nsAppShell.h | 1 - 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/mozilla/widget/src/mac/nsAppShell.cpp b/mozilla/widget/src/mac/nsAppShell.cpp index bdda9bb7db4..0d1f1cd92ed 100644 --- a/mozilla/widget/src/mac/nsAppShell.cpp +++ b/mozilla/widget/src/mac/nsAppShell.cpp @@ -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; } //------------------------------------------------------------------------- diff --git a/mozilla/widget/src/mac/nsAppShell.h b/mozilla/widget/src/mac/nsAppShell.h index c52f87a6e96..1a7d424df08 100644 --- a/mozilla/widget/src/mac/nsAppShell.h +++ b/mozilla/widget/src/mac/nsAppShell.h @@ -39,7 +39,6 @@ class nsAppShell : public nsIAppShell private: nsDispatchListener *mDispatchListener; nsToolkit *mToolKit; - nsMacMessenger *mMessages; // CLASS METHODS private: