]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/checkbox.h
restored wxPluginLibrary::ms_classes handling code that was removed by mistake
[wxWidgets.git] / include / wx / univ / checkbox.h
index 4bca3be985ead9b7c39df14a33e41d6b97aa6a37..b37ff5b637c5dc0ed14a928c19c38495d87542ad 100644 (file)
@@ -59,7 +59,7 @@ public:
     };
 
     // constructors
     };
 
     // constructors
-    wxCheckBox();
+    wxCheckBox() { Init(); }
 
     wxCheckBox(wxWindow *parent,
                wxWindowID id,
 
     wxCheckBox(wxWindow *parent,
                wxWindowID id,
@@ -68,7 +68,12 @@ public:
                const wxSize& size = wxDefaultSize,
                long style = 0,
                const wxValidator& validator = wxDefaultValidator,
                const wxSize& size = wxDefaultSize,
                long style = 0,
                const wxValidator& validator = wxDefaultValidator,
-               const wxString& name = wxCheckBoxNameStr);
+               const wxString& name = wxCheckBoxNameStr)
+    {
+        Init();
+
+        Create(parent, id, label, pos, size, style, validator, name);
+    }
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
 
     bool Create(wxWindow *parent,
                 wxWindowID id,