don't reset WS_EX_CONTROLPARENT bit in wxNotebook::MSWGetStyle(), this can result in freezing the program

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-03-27 22:37:22 +00:00
parent b6dfd1ee34
commit 2f383eaa7d

View File

@@ -421,12 +421,11 @@ WXDWORD wxNotebook::MSWGetStyle(long style, WXDWORD *exstyle) const
else if ( style & wxBK_RIGHT )
tabStyle |= TCS_VERTICAL | TCS_RIGHT;
// ex style
if ( exstyle )
{
// note that we never want to have the default WS_EX_CLIENTEDGE style
// as it looks too ugly for the notebooks
*exstyle = 0;
*exstyle &= ~WS_EX_CLIENTEDGE;
}
return tabStyle;