Spinner: Move ValueChanged up

... along with the other hook methods
This commit is contained in:
John Scipione
2015-08-22 15:15:06 -07:00
parent e4df9afe58
commit a9385e8e2e
2 changed files with 8 additions and 8 deletions
+2 -1
View File
@@ -52,10 +52,11 @@ public:
virtual void AttachedToWindow();
virtual void Draw(BRect updateRect);
virtual void FrameResized(float width, float height);
virtual void ValueChanged();
virtual void MakeFocus(bool focus = true);
virtual void ResizeToPreferred();
virtual void SetFlags(uint32 flags);
virtual void ValueChanged();
virtual void WindowActivated(bool active);
alignment Alignment() const { return fAlignment; };
+6 -7
View File
@@ -1175,6 +1175,12 @@ BSpinner::FrameResized(float width, float height)
void
BSpinner::ValueChanged()
{
// hook method - does nothing
}
BSpinner::MakeFocus(bool focus)
{
fTextView->MakeFocus(focus);
@@ -1217,13 +1223,6 @@ BSpinner::SetFlags(uint32 flags)
}
void
BSpinner::ValueChanged()
{
// hook method - does nothing
}
void
BSpinner::WindowActivated(bool active)
{