From 7a3ac804897d5cffdf2e79556a510d31898cdf0d Mon Sep 17 00:00:00 2001 From: "J. Russell Smyth" Date: Wed, 29 Sep 1999 17:45:41 +0000 Subject: [PATCH] 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 --- src/msw/notebook.cpp | 7 +++++++ 1 file changed, 7 insertions(+) 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, -- 2.45.2