]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/checkbox.h
fixed warnings after GetFont prototype change
[wxWidgets.git] / include / wx / univ / checkbox.h
index 4bca3be985ead9b7c39df14a33e41d6b97aa6a37..b37ff5b637c5dc0ed14a928c19c38495d87542ad 100644 (file)
@@ -59,7 +59,7 @@ public:
     };
 
     // constructors
-    wxCheckBox();
+    wxCheckBox() { Init(); }
 
     wxCheckBox(wxWindow *parent,
                wxWindowID id,
@@ -68,7 +68,12 @@ public:
                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,