@library{wxcore}
@category{ctrl}
- <!-- @appearance{spinctrd.png} -->
+ @appearance{spinctrldouble.png}
@see wxSpinButton, wxSpinCtrl, wxControl
*/
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.
/**
Sets the number of digits in the display.
*/
- void SetDigits(unsigned digits);
+ void SetDigits(unsigned int digits);
/**
Sets the increment value.
/**
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.