зеркало из https://github.com/mozilla/gecko-dev.git
removed outdated comments
This commit is contained in:
Родитель
2c45e7ab0a
Коммит
c7123f17aa
|
@ -28,7 +28,7 @@
|
|||
#include "nsAppShell.h"
|
||||
#include "nsIAppShell.h"
|
||||
|
||||
#include "nsMacMessageSink.h" //¥¥¥ until this is moved into webshell(?)
|
||||
#include "nsMacMessageSink.h"
|
||||
#include "nsMacMessagePump.h"
|
||||
#include "nsToolKit.h"
|
||||
#include <Quickdraw.h>
|
||||
|
|
|
@ -51,7 +51,7 @@ private:
|
|||
Point mMousePoint; // keep track of where the mouse is at all times
|
||||
PRBool mInBackground;
|
||||
nsToolkit* mToolkit;
|
||||
nsMacMessageSink* mMessageSink; //¥¥¥ should be COM_auto_ptr
|
||||
nsMacMessageSink* mMessageSink;
|
||||
|
||||
// CLASS METHODS
|
||||
|
||||
|
|
|
@ -73,9 +73,6 @@ nsWindow::~nsWindow()
|
|||
{
|
||||
mDestructorCalled = PR_TRUE;
|
||||
|
||||
//¥¥¥ if (mToolkit && ((nsToolkit*)mToolkit)->GetFocus() == this )
|
||||
//¥¥¥ ((nsToolkit*)mToolkit)->SetFocus(nsnull);
|
||||
|
||||
//Destroy();
|
||||
|
||||
if (mWindowRegion != nsnull)
|
||||
|
@ -180,12 +177,6 @@ NS_IMETHODIMP nsWindow::Destroy()
|
|||
return NS_OK;
|
||||
mDestroyCalled = PR_TRUE;
|
||||
|
||||
//¥¥¥ // if the window being destroyed has the focus, lose it so that there isn't a dangling reference
|
||||
//¥¥¥ if (mToolkit && ((nsToolkit*)mToolkit)->GetFocus() == this )
|
||||
//¥¥¥ {
|
||||
//¥¥¥ ((nsToolkit*)mToolkit)->SetFocus(nsnull);
|
||||
//¥¥¥ }
|
||||
|
||||
nsBaseWidget::OnDestroy();
|
||||
nsBaseWidget::Destroy();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче