git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71811
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxBK_HITTEST_ONPAGE = 8
};
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
/**
@class wxBookCtrlBase
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// 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;
+
const wxString& name = wxEmptyString);
//@}
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.
*/
/**
Returns the wxChoice associated with the control.
*/
class wxFontEnumerator
{
public:
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.
/**
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
/////////////////////////////////////////////////////////////////////////////
// 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;
+
long style = 0,
const wxString& name = wxEmptyString);
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.
*/
/**
Returns the wxListView associated with the control.
*/
#define wxNB_NOPAGETHEME 0x0400
#define wxNB_FLAT 0x0800
#define wxNB_NOPAGETHEME 0x0400
#define wxNB_FLAT 0x0800
+wxEventType wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED;
+wxEventType wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING;
+
+
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
+#define wxTBK_BUTTONBAR 0x0100
+#define wxTBK_HORZ_LAYOUT 0x8000
+
+wxEventType wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED;
+wxEventType wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING;
+
+
const wxString& name = wxEmptyString);
//@}
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.
*/
/**
Returns the wxToolBarBase associated with the control.
*/
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// 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;
+