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:
@@ -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];
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user