mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-09 13:25:00 +00:00
Remove unncessary cruft
This commit is contained in:
parent
47b884f249
commit
dfbf3d32b6
@ -140,7 +140,6 @@ nsWindow::nsWindow() : nsBaseWidget()
|
||||
mPrevWndProc = NULL;
|
||||
mParent = 0;
|
||||
mNextID = 1;
|
||||
mNextCmdID = 1;
|
||||
mSWPs = 0;
|
||||
mlHave = 0;
|
||||
mlUsed = 0;
|
||||
@ -2092,7 +2091,7 @@ PRBool nsWindow::ProcessMessage( ULONG msg, MPARAM mp1, MPARAM mp2, MRESULT &rc)
|
||||
if( !gJustGotActivate )
|
||||
{
|
||||
gJustGotActivate = PR_TRUE;
|
||||
if ( WinIsChild( mWnd, HWNDFROMMP(mp1)) && mNextID == mNextCmdID == 1)
|
||||
if ( WinIsChild( mWnd, HWNDFROMMP(mp1)) && mNextID == 1)
|
||||
result = DispatchFocus( NS_PLUGIN_ACTIVATE, isMozWindowTakingFocus );
|
||||
else
|
||||
result = DispatchFocus( NS_ACTIVATE, isMozWindowTakingFocus );
|
||||
|
@ -166,7 +166,6 @@ class nsWindow : public nsBaseWidget,
|
||||
|
||||
// PM methods which need to be public (menus, etc)
|
||||
ULONG GetNextID() { return mNextID++; }
|
||||
USHORT GetNextCmdID() { return mNextCmdID++; }
|
||||
void NS2PM_PARENT( POINTL &ptl);
|
||||
void NS2PM( POINTL &ptl);
|
||||
void NS2PM( RECTL &rcl);
|
||||
@ -231,7 +230,6 @@ protected:
|
||||
PFNWP mPrevWndProc; // previous window procedure
|
||||
nsWindow *mParent; // parent widget
|
||||
ULONG mNextID; // next child window id
|
||||
USHORT mNextCmdID; // next WM_COMMAND id for menus
|
||||
PSWP mSWPs; // SWPs for deferred window positioning
|
||||
ULONG mlHave, mlUsed; // description of mSWPs array
|
||||
HPOINTER mPointer; // current PM pointer
|
||||
|
Loading…
Reference in New Issue
Block a user