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:
parent
b88c44e735
commit
a69103348f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user