]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/spinbutt.h
added a @todo about references to old wx functions
[wxWidgets.git] / interface / wx / spinbutt.h
index 2465c5bef430fd6bc178df8fc35220e83e5c4083..e596243c80c7a7d2e11852c73088560c77f86aaf 100644 (file)
@@ -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");
 
     /**
@@ -141,7 +141,8 @@ public:
     */
     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");
 
     /**