]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/spinbutt.h
Removing more CodeWarrior project files.
[wxWidgets.git] / interface / wx / spinbutt.h
index 775cb3aaf867a0627bb669d18eb9ea5f87d48071..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)}
@@ -92,7 +92,7 @@ public:
 
     @library{wxcore}
     @category{ctrl}
-    <!-- @appearance{spinbutton.png} -->
+    @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.