respects wxFRAME_TOOL_WINDOW for floaters, too

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2002-02-19 10:45:27 +00:00
parent 761e1e0702
commit fb7b53892f
2 changed files with 2 additions and 2 deletions

View File

@ -233,7 +233,7 @@ void wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title,
WindowClass wclass = 0;
WindowAttributes attr = kWindowNoAttributes ;
if ( HasFlag(wxTINY_CAPTION_HORIZ) || HasFlag(wxTINY_CAPTION_VERT) )
if ( HasFlag( wxFRAME_TOOL_WINDOW) || HasFlag(wxTINY_CAPTION_HORIZ) || HasFlag(wxTINY_CAPTION_VERT) )
{
wclass = kFloatingWindowClass ;
if ( HasFlag(wxTINY_CAPTION_VERT) )

View File

@ -233,7 +233,7 @@ void wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title,
WindowClass wclass = 0;
WindowAttributes attr = kWindowNoAttributes ;
if ( HasFlag(wxTINY_CAPTION_HORIZ) || HasFlag(wxTINY_CAPTION_VERT) )
if ( HasFlag( wxFRAME_TOOL_WINDOW) || HasFlag(wxTINY_CAPTION_HORIZ) || HasFlag(wxTINY_CAPTION_VERT) )
{
wclass = kFloatingWindowClass ;
if ( HasFlag(wxTINY_CAPTION_VERT) )