\twocolwidtha{5cm}
\begin{twocollist}\itemsep=0pt
-\twocolitem{\windowstyle{wxBK\_DEFAULT}}{Choose the default location for the
-labels depending on the current platform (currently always the top).}
+\twocolitem{\windowstyle{wxTBK\_BUTTONBAR}}{Use wxButtonToolBar-based
+implementation under Mac OS (ignored under other platforms.)}
\twocolitem{\windowstyle{wxTBK\_HORZ\_LAYOUT}}{Shows the text and the icons
alongside, not vertically stacked (only implement under Windows and GTK 2
platforms as it relies on \texttt{wxTB\_HORZ\_LAYOUT} flag support).}
\end{twocollist}
+The common wxBookCtrl styles described in this control
+\helpref{overview}{wxbookctrloverview} are also supported.
+
\wxheading{See also}
\helpref{wxBookCtrl}{wxbookctrloverview}, \helpref{wxNotebook}{wxnotebook}, \helpref{notebook sample}{samplenotebook}
// Use wxButtonToolBar
-#define wxBK_BUTTONBAR 0x0100
+#define wxTBK_BUTTONBAR 0x0100
// Use wxTB_HORZ_LAYOUT style for the controlling toolbar
#define wxTBK_HORZ_LAYOUT 0x8000
+// deprecated synonym, don't use
+#if WXWIN_COMPATIBILITY_2_8
+ #define wxBK_BUTTONBAR wxTBK_BUTTONBAR
+#endif
+
// ----------------------------------------------------------------------------
// wxToolbook
// ----------------------------------------------------------------------------
#if wxUSE_TOOLBOOK
#if defined(__WXMAC__) && wxUSE_TOOLBAR && wxUSE_BMPBUTTON
if (GetSheetStyle() & wxPROPSHEET_BUTTONTOOLBOOK)
- bookCtrl = new wxToolbook(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, style|wxBK_BUTTONBAR );
+ bookCtrl = new wxToolbook(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, style|wxTBK_BUTTONBAR );
else
#endif
if ((GetSheetStyle() & wxPROPSHEET_TOOLBOOK) || (GetSheetStyle() & wxPROPSHEET_BUTTONTOOLBOOK))
// TODO: make more configurable
#if defined(__WXMAC__) && wxUSE_TOOLBAR && wxUSE_BMPBUTTON
- if (style & wxBK_BUTTONBAR)
+ if (style & wxTBK_BUTTONBAR)
{
m_bookctrl = new wxButtonToolBar
(