only use tool window style for floating windows, no modal dialog class (layer problems)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -241,7 +241,7 @@ void wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title,
|
|||||||
WindowClass wclass = 0;
|
WindowClass wclass = 0;
|
||||||
WindowAttributes attr = kWindowNoAttributes ;
|
WindowAttributes attr = kWindowNoAttributes ;
|
||||||
|
|
||||||
if ( HasFlag( wxFRAME_TOOL_WINDOW) || HasFlag(wxTINY_CAPTION_HORIZ) || HasFlag(wxTINY_CAPTION_VERT) )
|
if ( HasFlag( wxFRAME_TOOL_WINDOW) /*|| HasFlag(wxTINY_CAPTION_HORIZ) || HasFlag(wxTINY_CAPTION_VERT)*/ )
|
||||||
{
|
{
|
||||||
wclass = kFloatingWindowClass ;
|
wclass = kFloatingWindowClass ;
|
||||||
if ( HasFlag(wxTINY_CAPTION_VERT) )
|
if ( HasFlag(wxTINY_CAPTION_VERT) )
|
||||||
@@ -262,7 +262,7 @@ void wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
wclass = kModalWindowClass ;
|
wclass = kDocumentWindowClass ;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( HasFlag( wxMINIMIZE_BOX ) || HasFlag( wxMAXIMIZE_BOX ) )
|
if ( HasFlag( wxMINIMIZE_BOX ) || HasFlag( wxMAXIMIZE_BOX ) )
|
||||||
|
@@ -241,7 +241,7 @@ void wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title,
|
|||||||
WindowClass wclass = 0;
|
WindowClass wclass = 0;
|
||||||
WindowAttributes attr = kWindowNoAttributes ;
|
WindowAttributes attr = kWindowNoAttributes ;
|
||||||
|
|
||||||
if ( HasFlag( wxFRAME_TOOL_WINDOW) || HasFlag(wxTINY_CAPTION_HORIZ) || HasFlag(wxTINY_CAPTION_VERT) )
|
if ( HasFlag( wxFRAME_TOOL_WINDOW) /*|| HasFlag(wxTINY_CAPTION_HORIZ) || HasFlag(wxTINY_CAPTION_VERT)*/ )
|
||||||
{
|
{
|
||||||
wclass = kFloatingWindowClass ;
|
wclass = kFloatingWindowClass ;
|
||||||
if ( HasFlag(wxTINY_CAPTION_VERT) )
|
if ( HasFlag(wxTINY_CAPTION_VERT) )
|
||||||
@@ -262,7 +262,7 @@ void wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
wclass = kModalWindowClass ;
|
wclass = kDocumentWindowClass ;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( HasFlag( wxMINIMIZE_BOX ) || HasFlag( wxMAXIMIZE_BOX ) )
|
if ( HasFlag( wxMINIMIZE_BOX ) || HasFlag( wxMAXIMIZE_BOX ) )
|
||||||
|
Reference in New Issue
Block a user