-private:
- int m_nSel, // currently selected page
- m_nOldSel; // previously selected page
+ wxNotebookBase() { }
+
+ wxNotebookBase(wxWindow *parent,
+ wxWindowID id,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = 0,
+ const wxString& name = wxNOTEBOOK_NAME)
+ : wxBookCtrl(parent, id, pos, size, style, name)
+ {
+ }
+
+
+ // wxNotebook-specific additions to wxBookCtrl interface
+ // -----------------------------------------------------
+
+ // get the number of rows for a control with wxNB_MULTILINE style (not all
+ // versions support it - they will always return 1 then)
+ virtual int GetRowCount() const { return 1; }
+
+ // set the padding between tabs (in pixels)
+ virtual void SetPadding(const wxSize& padding) = 0;