// TODO: Virtualize this class so other book controls can be derived in Python
+MustHaveApp(wxBookCtrl);
+
// Common base class for wxList/Tree/Notebook
class wxBookCtrl : public wxControl
{
+MustHaveApp(wxNotebook);
+
class wxNotebook : public wxBookCtrl {
public:
%pythonAppend wxNotebook "self._setOORInfo(self)"
%name(PreNotebook)wxNotebook();
bool Create(wxWindow *parent,
- wxWindowID id,
+ wxWindowID id=-1,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
+MustHaveApp(wxListbook);
+
// wxListCtrl and wxNotebook combination
class wxListbook : public wxBookCtrl
{
%name(PreListbook)wxListbook();
bool Create(wxWindow *parent,
- wxWindowID id,
+ wxWindowID id=-1,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,