SetLabel() redraws immediately
git-svn-id: svn://10.0.0.236/trunk@14048 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
a5c4d7dadc
commit
cf081db165
@ -60,6 +60,7 @@ nsresult nsButton::QueryInterface(const nsIID& aIID, void** aInstancePtr)
|
||||
return nsWindow::QueryInterface(aIID,aInstancePtr);
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
//-------------------------------------------------------------------------
|
||||
//
|
||||
//
|
||||
@ -67,7 +68,7 @@ nsresult nsButton::QueryInterface(const nsIID& aIID, void** aInstancePtr)
|
||||
NS_METHOD nsButton::SetLabel(const nsString& aText)
|
||||
{
|
||||
mLabel = aText;
|
||||
Invalidate(PR_FALSE);
|
||||
Invalidate(PR_TRUE);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user