From: Vadim Zeitlin Date: Fri, 12 Oct 2001 06:14:47 +0000 (+0000) Subject: create wxNotebook without any extended style X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a69103348f3eb80c7d964e5f64918d1f4088e04e create wxNotebook without any extended style git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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; }