]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/spinctlg.h
Applied patch [ 546335 ] Added Automation types and array access
[wxWidgets.git] / include / wx / generic / spinctlg.h
index f535a8dd3f7e0e54896241688f49e84113e438f9..973af21a18bbba66b3e7fb2d33647b8855689038 100644 (file)
@@ -20,7 +20,7 @@
 // without tons of #ifdefs.
 // ----------------------------------------------------------------------------
 
-#if wxUSE_SPINBTN
+#if wxUSE_SPINBTN 
 
 #ifdef __GNUG__
     #pragma interface "spinctlg.h"
@@ -47,6 +47,7 @@ public:
                int min = 0, int max = 100, int initial = 0,
                const wxString& name = _T("wxSpinCtrl"))
     {
+        Init();
         Create(parent, id, value, pos, size, style, min, max, initial, name);
     }
 
@@ -101,6 +102,9 @@ private:
     // the subcontrols
     wxTextCtrl *m_text;
     wxSpinButton *m_btn;
+    
+private:
+    DECLARE_DYNAMIC_CLASS(wxSpinCtrl)
 };
 
 #else // !wxUSE_SPINBTN