* BControl::SetValue() now calls Invalidate() again - not doing so would
break compatibility a bit too much (as this is a public class). * Instead, we're now using the same mechanism as in Dano/Zeta, that is, we use BControl::SetValueNoUpdate() in the inherited classes. * Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16183 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -581,10 +581,8 @@ BButton::DetachedFromWindow()
|
||||
void
|
||||
BButton::SetValue(int32 value)
|
||||
{
|
||||
if (value != Value()) {
|
||||
if (value != Value())
|
||||
BControl::SetValue(value);
|
||||
Invalidate();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user