]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/radiobut.h
added WX_FORWARD_STD_METHODS_TO_SUBWINDOWS macro
[wxWidgets.git] / include / wx / univ / radiobut.h
index 43f2ee76782d055efed4110836eb66b4e5a60218..5d78b3e9a3f0897e579e9b5add9bde4dd8c30e96 100644 (file)
@@ -26,7 +26,7 @@ class WXDLLEXPORT wxRadioButton : public wxCheckBox
 {
 public:
     // constructors
-    wxRadioButton();
+    wxRadioButton() { Init(); }
 
     wxRadioButton(wxWindow *parent,
                   wxWindowID id,
@@ -35,7 +35,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,