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:
@@ -264,11 +264,10 @@ public:
|
||||
}
|
||||
|
||||
// accessors
|
||||
int GetValue(wxSPINCTRL_GETVALUE_FIX) const
|
||||
{ return wxRound( DoGetValue() ); }
|
||||
int GetMin() const { return wxRound( m_min ); }
|
||||
int GetMax() const { return wxRound( m_max ); }
|
||||
int GetIncrement() const { return wxRound( m_increment ); }
|
||||
int GetValue(wxSPINCTRL_GETVALUE_FIX) const { return int(DoGetValue()); }
|
||||
int GetMin() const { return int(m_min); }
|
||||
int GetMax() const { return int(m_max); }
|
||||
int GetIncrement() const { return int(m_increment); }
|
||||
|
||||
// operations
|
||||
void SetValue(const wxString& value)
|
||||
|
Reference in New Issue
Block a user