]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/spinbutt.h
MYcopystring is not required anymore when compat2.8 is off
[wxWidgets.git] / interface / wx / spinbutt.h
index 775cb3aaf867a0627bb669d18eb9ea5f87d48071..e596243c80c7a7d2e11852c73088560c77f86aaf 100644 (file)
@@ -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.