Don't always set the titled mask.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
8a606bb006
commit
aa960026e6
@ -292,7 +292,12 @@ long style, long extraStyle, const wxString& name )
|
||||
|
||||
if ( style & wxFRAME_TOOL_WINDOW )
|
||||
{
|
||||
windowstyle |= NSTitledWindowMask | NSUtilityWindowMask;
|
||||
windowstyle |= NSUtilityWindowMask;
|
||||
if ( ( style & wxMINIMIZE_BOX ) || ( style & wxMAXIMIZE_BOX ) ||
|
||||
( style & wxCLOSE_BOX ) || ( style & wxSYSTEM_MENU ) )
|
||||
{
|
||||
windowstyle |= NSTitledWindowMask ;
|
||||
}
|
||||
}
|
||||
else if ( ( style & wxPOPUP_WINDOW ) )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user