Remove unncessary cruft

This commit is contained in:
mkaply%us.ibm.com 2001-12-11 20:33:57 +00:00
parent 47b884f249
commit dfbf3d32b6
2 changed files with 1 additions and 4 deletions

View File

@ -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 );

View File

@ -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