no Invalidate in BControl::SetValue, I figure more controls need to be updated for this change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12947 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -376,7 +376,10 @@ void BButton::DetachedFromWindow()
|
||||
//------------------------------------------------------------------------------
|
||||
void BButton::SetValue(int32 value)
|
||||
{
|
||||
BControl::SetValue(value);
|
||||
if (value != Value()) {
|
||||
BControl::SetValue(value);
|
||||
Invalidate();
|
||||
}
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
void BButton::GetPreferredSize(float *width, float *height)
|
||||
|
||||
Reference in New Issue
Block a user