* 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:
Axel Dörfler
2006-02-01 15:55:46 +00:00
parent 5376b695a4
commit a71c960755
6 changed files with 38 additions and 72 deletions
+1 -3
View File
@@ -581,10 +581,8 @@ BButton::DetachedFromWindow()
void
BButton::SetValue(int32 value)
{
if (value != Value()) {
if (value != Value())
BControl::SetValue(value);
Invalidate();
}
}