]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/spinbutt.h
Removing more CodeWarrior project files.
[wxWidgets.git] / interface / wx / spinbutt.h
index 2465c5bef430fd6bc178df8fc35220e83e5c4083..2c343598840c8b204cd875626e1890df33b8561a 100644 (file)
@@ -77,7 +77,7 @@ public:
            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)}
@@ -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");
 
     /**