]> git.saurik.com Git - wxWidgets.git/commitdiff
define bookctrl (and -derived) classes flags in their headers instead of defs.h;...
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 20 Oct 2006 11:32:30 +0000 (11:32 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 20 Oct 2006 11:32:30 +0000 (11:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/bookctrl.h

index 8d5a2a30727d64f41b934a4ff7f1dd1a14c92ab4..454e99545a46e3128c2953ffd1cf50bdfcc16507 100644 (file)
@@ -42,6 +42,14 @@ enum
     wxBK_HITTEST_ONPAGE  = 8    // not on tab control, but over the selected page
 };
 
+// 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)
+
 // ----------------------------------------------------------------------------
 // wxBookCtrlBase
 // ----------------------------------------------------------------------------