wxSpinCtrl values are always integral, they don't need to be rounded
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -117,10 +117,10 @@ public:
|
||||
}
|
||||
|
||||
// accessors
|
||||
int GetValue() const { return wxRound( DoGetValue() ); }
|
||||
int GetMin() const { return wxRound( DoGetMin() ); }
|
||||
int GetMax() const { return wxRound( DoGetMax() ); }
|
||||
int GetIncrement() const { return wxRound( DoGetIncrement() ); }
|
||||
int GetValue() const { return int(DoGetValue()); }
|
||||
int GetMin() const { return int(DoGetMin()); }
|
||||
int GetMax() const { return int(DoGetMax()); }
|
||||
int GetIncrement() const { return int(DoGetIncrement()); }
|
||||
|
||||
// operations
|
||||
void SetValue(const wxString& value) { wxSpinCtrlGTKBase::SetValue(value); } // visibility problem w/ gcc
|
||||
|
Reference in New Issue
Block a user