X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1169a91932273bc84c23ed9dbd0a2da064d59d66..7a5e53abb3f9ea13eba2880972306446e4e21e83:/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,