X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1169a91932273bc84c23ed9dbd0a2da064d59d66..178a12204bcdb9d98af14cc133432c7359b1b969:/include/wx/univ/checkbox.h?ds=inline diff --git a/include/wx/univ/checkbox.h b/include/wx/univ/checkbox.h index 4bca3be985..b37ff5b637 100644 --- a/include/wx/univ/checkbox.h +++ b/include/wx/univ/checkbox.h @@ -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,