]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/spinbutt.h
fix few doxygen warnings
[wxWidgets.git] / interface / wx / spinbutt.h
index 6de0b4799683c23e800c025c579a9b973c4cbf44..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");
 
     /**
@@ -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.