X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1169a91932273bc84c23ed9dbd0a2da064d59d66..a800dc50d47f5ecd1bcba7601f33843c01db9a57:/include/wx/univ/notebook.h diff --git a/include/wx/univ/notebook.h b/include/wx/univ/notebook.h index 907af319da..4c82009c99 100644 --- a/include/wx/univ/notebook.h +++ b/include/wx/univ/notebook.h @@ -39,14 +39,19 @@ public: // ctors and such // -------------- - wxNotebook(); + wxNotebook() { Init(); } wxNotebook(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, - const wxString& name = wxNOTEBOOK_NAME); + const wxString& name = wxNOTEBOOK_NAME) + { + Init(); + + (void)Create(parent, id, pos, size, style, name); + } // quasi ctor bool Create(wxWindow *parent,