X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/adaaa68635b4c8a4d8c5284add40366ea3eefb07..d6dae1b4432a3ecbf3ca8b983440728a46af8f20:/interface/wx/generic/spinctrg.h diff --git a/interface/wx/generic/spinctrg.h b/interface/wx/generic/spinctrg.h index 79aefa3a54..bf1cb0fb41 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 */ @@ -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.