X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a7ae8fea4773cd9a4c06ffb5b3df564b546b2bb4..19193a2c85987b595932957e73013e7ea100f0e8:/src/msw/notebook.cpp?ds=sidebyside diff --git a/src/msw/notebook.cpp b/src/msw/notebook.cpp index 379f7dea9f..f3af3b19a4 100644 --- a/src/msw/notebook.cpp +++ b/src/msw/notebook.cpp @@ -171,8 +171,9 @@ bool wxNotebook::Create(wxWindow *parent, if (m_windowStyle & wxNB_RIGHT) tabStyle |= TCS_VERTICAL|TCS_RIGHT; - - if ( !MSWCreateControl(WC_TABCONTROL, tabStyle, pos, size) ) + // note that we don't want to have the default WS_EX_CLIENTEDGE style for the + // notebook, so explicitly specify 0 as last parameter + if ( !MSWCreateControl(WC_TABCONTROL, tabStyle, pos, size, _T(""), 0) ) { return FALSE; }