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/trunk@59897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -418,14 +418,6 @@ WXDWORD wxNotebook::MSWGetStyle(long style, WXDWORD *exstyle) const
|
|||||||
else if ( style & wxBK_RIGHT )
|
else if ( style & wxBK_RIGHT )
|
||||||
tabStyle |= TCS_VERTICAL | TCS_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;
|
|
||||||
}
|
|
||||||
|
|
||||||
return tabStyle;
|
return tabStyle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user