]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/spinctlg.h
wxSpinCtrl::SetIncrement is supposed to take an int, not a double
[wxWidgets.git] / include / wx / generic / spinctlg.h
index 83e529d2f548f15d3d0da7ad094fe48da617db33..9c18c06a6b2cd79722cb81beb83b78f5a676f3f3 100644 (file)
@@ -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)
 };