// 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,