@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
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.