wxSpinCtrl::SetIncrement is supposed to take an int, not a double

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett 2009-11-10 17:12:36 +00:00
parent 0738b901b1
commit 92e164ff92
2 changed files with 2 additions and 4 deletions

View 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)
};

View File

@ -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)
};