wxBK_HITTEST_ONPAGE = 8
};
+/**
+ wxBookCtrl flags (common for wxNotebook, wxListbook, wxChoicebook, wxTreebook)
+*/
+#define wxBK_DEFAULT 0x0000
+#define wxBK_TOP 0x0010
+#define wxBK_BOTTOM 0x0020
+#define wxBK_LEFT 0x0040
+#define wxBK_RIGHT 0x0080
+#define wxBK_ALIGN_MASK (wxBK_TOP | wxBK_BOTTOM | wxBK_LEFT | wxBK_RIGHT)
+
+
/**
@class wxBookCtrlBase
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
+
+// wxChoicebook flags
+#define wxCHB_DEFAULT wxBK_DEFAULT
+#define wxCHB_TOP wxBK_TOP
+#define wxCHB_BOTTOM wxBK_BOTTOM
+#define wxCHB_LEFT wxBK_LEFT
+#define wxCHB_RIGHT wxBK_RIGHT
+#define wxCHB_ALIGN_MASK wxBK_ALIGN_MASK
+
+wxEventType wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED;
+wxEventType wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING;
+
/**
@class wxChoicebook
const wxString& name = wxEmptyString);
//@}
+ /**
+ Create the choicebook control that has already been constructed with
+ the default constructor.
+ */
+ bool Create(wxWindow *parent,
+ wxWindowID id,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = 0,
+ const wxString& name = wxEmptyString);
+
+
/**
Returns the wxChoice associated with the control.
*/
class wxFontEnumerator
{
public:
+ wxFontEnumerator();
+ virtual ~wxFontEnumerator();
+
/**
Call OnFontEncoding() for each encoding supported by the given font -
or for each encoding supported by at least some font if @a font is not specified.
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
+// wxListbook flags
+#define wxLB_DEFAULT wxBK_DEFAULT
+#define wxLB_TOP wxBK_TOP
+#define wxLB_BOTTOM wxBK_BOTTOM
+#define wxLB_LEFT wxBK_LEFT
+#define wxLB_RIGHT wxBK_RIGHT
+#define wxLB_ALIGN_MASK wxBK_ALIGN_MASK
+
+wxEventType wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED;
+wxEventType wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING;
+
/**
@class wxListbook
long style = 0,
const wxString& name = wxEmptyString);
+ /**
+ Create the list book control that has already been constructed with
+ the default constructor.
+ */
+ bool Create(wxWindow *parent,
+ wxWindowID id,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = 0,
+ const wxString& name = wxEmptyString);
+
/**
Returns the wxListView associated with the control.
*/
#define wxNB_NOPAGETHEME 0x0400
#define wxNB_FLAT 0x0800
+wxEventType wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED;
+wxEventType wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING;
+
+
/**
@class wxNotebook
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
+#define wxTBK_BUTTONBAR 0x0100
+#define wxTBK_HORZ_LAYOUT 0x8000
+
+wxEventType wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED;
+wxEventType wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING;
+
+
/**
@class wxToolbook
const wxString& name = wxEmptyString);
//@}
+ /**
+ Create the tool book control that has already been constructed with
+ the default constructor.
+ */
+ bool Create(wxWindow *parent,
+ wxWindowID id,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = 0,
+ const wxString& name = wxEmptyString);
+
/**
Returns the wxToolBarBase associated with the control.
*/
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
+
+wxEventType wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED;
+wxEventType wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING;
+wxEventType wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED;
+wxEventType wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED;
+
/**
@class wxTreebook