]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/radiobut.h
Fixed source for WinCE compatibility
[wxWidgets.git] / include / wx / msw / radiobut.h
index 9eb4c81e9037fb3b9f50e59d421f637795c03276..b47ee2e241ed5fb7aae8d01c16cba9174e8ed0b4 100644 (file)
@@ -20,7 +20,7 @@ class WXDLLEXPORT wxRadioButton: public wxControl
 {
 public:
     // ctors and creation functions
-    wxRadioButton();
+    wxRadioButton() { Init(); }
 
     wxRadioButton(wxWindow *parent,
                   wxWindowID id,
@@ -29,7 +29,12 @@ public:
                   const wxSize& size = wxDefaultSize,
                   long style = 0,
                   const wxValidator& validator = wxDefaultValidator,
-                  const wxString& name = wxRadioButtonNameStr);
+                  const wxString& name = wxRadioButtonNameStr)
+    {
+        Init();
+
+        Create(parent, id, label, pos, size, style, validator, name);
+    }
 
     bool Create(wxWindow *parent,
                 wxWindowID id,