From: J. Russell Smyth Date: Wed, 29 Sep 1999 17:45:41 +0000 (+0000) Subject: Added wxNB_LEFT,RIGHT,BOTTOM styles to alter tab placement X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7a3ac804897d5cffdf2e79556a510d31898cdf0d?hp=ab20a9a95a8bbed75bfc6ecba20f013eb9dcff46 Added wxNB_LEFT,RIGHT,BOTTOM styles to alter tab placement git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/notebook.cpp b/src/msw/notebook.cpp index 8c8e75e196..fe431a1234 100644 --- a/src/msw/notebook.cpp +++ b/src/msw/notebook.cpp @@ -144,6 +144,13 @@ bool wxNotebook::Create(wxWindow *parent, tabStyle &= WS_BORDER; if (m_windowStyle & wxNB_FIXEDWIDTH) tabStyle |= TCS_FIXEDWIDTH ; + if (m_windowStyle & wxNB_BOTTOM) + tabStyle |= TCS_RIGHT; + if (m_windowStyle & wxNB_LEFT) + tabStyle |= TCS_VERTICAL; + if (m_windowStyle & wxNB_RIGHT) + tabStyle |= TCS_VERTICAL|TCS_RIGHT; + if ( !MSWCreate(GetId(), GetParent(), WC_TABCONTROL, this, NULL, pos.x, pos.y, size.x, size.y,