// Purpose: interface of wxSpinEvent, wxSpinButton
// Author: wxWidgets team
// RCS-ID: $Id$
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
/**
The value wraps at the minimum and maximum.
@endStyleTable
- @beginEventTable{wxSpinEvent}
+ @beginEventEmissionTable{wxSpinEvent}
@event{EVT_SPIN(id, func)}
Generated whenever an arrow is pressed.
@event{EVT_SPIN_UP(id, func)}
@library{wxcore}
@category{ctrl}
- @appearance{spinbutton.png}
+ @appearance{spinbutton}
@see wxSpinCtrl
*/
Window identifier. The value wxID_ANY indicates a default value.
@param pos
Window position.
- If wxDefaultPosition is specified then a default position is chosen.
+ If ::wxDefaultPosition is specified then a default position is chosen.
@param size
Window size.
- If wxDefaultSize is specified then a default size is chosen.
+ If ::wxDefaultSize is specified then a default size is chosen.
@param style
Window style. See wxSpinButton class description.
@param name
@see Create()
*/
- wxSpinButton(wxWindow* parent, wxWindowID id,
+ wxSpinButton(wxWindow* parent, wxWindowID id = -1,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
- long style = wxSP_HORIZONTAL,
+ long style = wxSP_VERTICAL,
const wxString& name = "spinButton");
/**
*/
bool Create(wxWindow* parent, wxWindowID id = -1,
const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize, long style = wxSP_HORIZONTAL,
+ const wxSize& size = wxDefaultSize,
+ long style = wxSP_VERTICAL,
const wxString& name = "wxSpinButton");
/**