Respect the wxNO_BORDER flag for tool windows without a titlebar.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Ollivier
2008-08-25 04:28:40 +00:00
parent 3d52bdd8c6
commit b12a7313f5

View File

@@ -1581,7 +1581,14 @@ void wxNonOwnedWindowCarbonImpl::Create(
} }
else else
{ {
wclass = kPlainWindowClass ; if ( HasFlag( wxNO_BORDER ) )
{
wclass = kSimpleWindowClass ;
}
else
{
wclass = kPlainWindowClass ;
}
activationScopeSet = true; activationScopeSet = true;
activationScope = kWindowActivationScopeNone; activationScope = kWindowActivationScopeNone;
} }