X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/42561c3caf6d96fbe208d65264d687091e67ed7c..5b88a837ba75928cd3835a6b97ae2bf5ad983a6e:/interface/wx/generic/spinctrg.h diff --git a/interface/wx/generic/spinctrg.h b/interface/wx/generic/spinctrg.h index a89fdc0339..bccf568a54 100644 --- a/interface/wx/generic/spinctrg.h +++ b/interface/wx/generic/spinctrg.h @@ -21,7 +21,7 @@ @library{wxcore} @category{ctrl} - + @appearance{spinctrldouble.png} @see wxSpinButton, wxSpinCtrl, wxControl */ @@ -43,11 +43,11 @@ public: @param id Window identifier. The value wxID_ANY indicates a default value. @param pos - Window position. If wxDefaultPosition is specified then a default - position is chosen. + Window position. + If ::wxDefaultPosition is specified then a default position is chosen. @param size - Window size. If wxDefaultSize is specified then a default size - is chosen. + Window size. + If ::wxDefaultSize is specified then a default size is chosen. @param style Window style. See wxSpinButton. @param min @@ -76,19 +76,18 @@ public: Creation function called by the spin control constructor. See wxSpinCtrlDouble() for details. */ - bool Create(wxWindow* parent, wxWindowID id = -1, + bool Create(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& value = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = wxSP_ARROW_KEYS, - double min = 0, double max = 100, + long style = wxSP_ARROW_KEYS, double min = 0, double max = 100, double initial = 0, double inc = 1, - const wxString& name = _T("wxSpinCtrlDouble")); + const wxString& name = "wxSpinCtrlDouble"); /** Gets the number of digits in the display. */ - unsigned GetDigits() const; + unsigned int GetDigits() const; /** Gets the increment value. @@ -113,7 +112,7 @@ public: /** Sets the number of digits in the display. */ - void SetDigits(unsigned digits); + void SetDigits(unsigned int digits); /** Sets the increment value. @@ -128,7 +127,7 @@ public: /** Sets the value of the spin control. Use the variant using double instead. */ - void SetValue(const wxString& text); + virtual void SetValue(const wxString& text); /** Sets the value of the spin control.