X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e725ba4fc2984f86fc64c405ecb50883e2178e6e..277806225e146740f73965b11375d387b02961b7:/interface/wx/spinbutt.h?ds=sidebyside diff --git a/interface/wx/spinbutt.h b/interface/wx/spinbutt.h index 775cb3aaf8..e596243c80 100644 --- a/interface/wx/spinbutt.h +++ b/interface/wx/spinbutt.h @@ -92,7 +92,7 @@ public: @library{wxcore} @category{ctrl} - + @appearance{spinbutton.png} @see wxSpinCtrl */ @@ -124,10 +124,10 @@ public: @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"); /** @@ -139,11 +139,11 @@ public: Scrollbar creation function called by the spin button constructor. See wxSpinButton() for details. */ - bool Create(wxWindow* parent, wxWindowID id, + bool Create(wxWindow* parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = wxSP_HORIZONTAL, - const wxString& name = "spinButton"); + long style = wxSP_VERTICAL, + const wxString& name = "wxSpinButton"); /** Returns the maximum permissible value.