BSpinner: do not redefine fValue

BSpinner had its own fValue defined instead of using the one from
BControl. This results in the be:value in the message sent when the
control is invoked to always be 0.

Change-Id: I1cff5f30adbf5b1dede57a14377cd4e1db7a30d3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7428
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
PulkoMandy
2024-02-27 15:47:10 +00:00
committed by waddlesplash
parent 0aede635f1
commit 8cc8ec9ef9
2 changed files with 4 additions and 13 deletions
+1 -3
View File
@@ -45,7 +45,6 @@ public:
void Range(int32* min, int32* max);
virtual void SetRange(int32 min, int32 max);
int32 Value() const { return fValue; };
virtual void SetValue(int32 value);
virtual void SetValueFromText();
@@ -77,10 +76,9 @@ private:
int32 fMinValue;
int32 fMaxValue;
int32 fValue;
// FBC padding
uint32 _reserved[20];
uint32 _reserved[21];
};