diff --git a/include/wx/generic/spinctlg.h b/include/wx/generic/spinctlg.h index 83e529d2f5..9c18c06a6b 100644 --- a/include/wx/generic/spinctlg.h +++ b/include/wx/generic/spinctlg.h @@ -275,12 +275,11 @@ public: { wxSpinCtrlGenericBase::SetValue(value); } void SetValue( int value ) { DoSetValue(value); } void SetRange( int minVal, int maxVal ) { DoSetRange(minVal, maxVal); } - void SetIncrement( double inc ) { DoSetIncrement(inc); } + void SetIncrement(int inc) { DoSetIncrement(inc); } protected: virtual void DoSendEvent(); -private: DECLARE_DYNAMIC_CLASS(wxSpinCtrl) }; @@ -344,7 +343,6 @@ protected: unsigned m_digits; -private: DECLARE_DYNAMIC_CLASS(wxSpinCtrlDouble) }; diff --git a/include/wx/gtk/spinctrl.h b/include/wx/gtk/spinctrl.h index 53649b59ec..39dc35089b 100644 --- a/include/wx/gtk/spinctrl.h +++ b/include/wx/gtk/spinctrl.h @@ -126,7 +126,7 @@ public: void SetValue(const wxString& value) { wxSpinCtrlGTKBase::SetValue(value); } // visibility problem w/ gcc void SetValue( int value ) { DoSetValue(value); } void SetRange( int minVal, int maxVal ) { DoSetRange(minVal, maxVal); } - void SetIncrement( double inc ) { DoSetIncrement(inc); } + void SetIncrement(int inc) { DoSetIncrement(inc); } DECLARE_DYNAMIC_CLASS(wxSpinCtrl) };