// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
wxBookCtrl(wxWindow *parent,
wxWindowID winid,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
wxBookCtrl(wxWindow *parent,
wxWindowID winid,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
- const wxString& name = wxEmptyString);
+ const wxString& name = wxEmptyString)
+ {
+ Init();
+
+ (void)Create(parent, winid, pos, size, style, name);
+ }
virtual bool DeletePage(size_t n);
// remove one page from the notebook, without deleting it
virtual bool DeletePage(size_t n);
// remove one page from the notebook, without deleting it
// adds a new page to the control
virtual bool AddPage(wxWindow *page,
// adds a new page to the control
virtual bool AddPage(wxWindow *page,
return InsertPage(GetPageCount(), page, text, bSelect, imageId);
}
return InsertPage(GetPageCount(), page, text, bSelect, imageId);
}