create wxNotebook without any extended style

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2001-10-12 06:14:47 +00:00
parent b88c44e735
commit a69103348f

View File

@ -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;
}