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:
@@ -292,7 +292,12 @@ long style, long extraStyle, const wxString& name )
|
|||||||
|
|
||||||
if ( style & wxFRAME_TOOL_WINDOW )
|
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 ) )
|
else if ( ( style & wxPOPUP_WINDOW ) )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user