Minor cleanups.

This commit is contained in:
zuperdee%penguinpowered.com 1999-07-20 11:14:27 +00:00
parent dd359fd27b
commit 43d1cbdd92
2 changed files with 3 additions and 25 deletions

View File

@ -247,25 +247,3 @@ NS_METHOD nsCheckButton::GetLabel(nsString& aBuffer)
XmStringFree(str);
return NS_OK;
}
//-------------------------------------------------------------------------
//
// move, paint, resizes message - ignore
//
//-------------------------------------------------------------------------
PRBool nsCheckButton::OnMove(PRInt32, PRInt32)
{
return PR_FALSE;
}
PRBool nsCheckButton::OnPaint(nsPaintEvent &aEvent)
{
return PR_FALSE;
}
PRBool nsCheckButton::OnResize(nsSizeEvent &aEvent)
{
return PR_FALSE;
}

View File

@ -60,9 +60,9 @@ public:
nsIToolkit *aToolkit = nsnull,
nsWidgetInitData *aInitData = nsnull);
virtual PRBool OnMove(PRInt32 aX, PRInt32 aY);
virtual PRBool OnPaint(nsPaintEvent &aEvent);
virtual PRBool OnResize(nsSizeEvent &aEvent);
virtual PRBool OnMove(PRInt32 aX, PRInt32 aY) { return PR_FALSE; }
virtual PRBool OnPaint(nsPaintEvent & aEvent) { return PR_FALSE; }
virtual PRBool OnResize(nsSizeEvent & aEvent) { return PR_FALSE; }
// These are needed to Override the auto check behavior
void Armed();