X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1169a91932273bc84c23ed9dbd0a2da064d59d66..7b4a652a8bf3da1b2dd20dd22c9e6db5dd03db59:/include/wx/univ/radiobut.h diff --git a/include/wx/univ/radiobut.h b/include/wx/univ/radiobut.h index 43f2ee7678..5d78b3e9a3 100644 --- a/include/wx/univ/radiobut.h +++ b/include/wx/univ/radiobut.h @@ -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,