applying 1660835, making sure wxSTAY_ON_TOP mini frame windows don't get hidden on deactivate

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2007-07-24 10:16:09 +00:00
parent 0458df5e6a
commit de809c336e

View File

@@ -1116,7 +1116,10 @@ void wxTopLevelWindowMac::MacCreateRealWindow(
HasFlag(wxTINY_CAPTION_HORIZ) || HasFlag(wxTINY_CAPTION_VERT)
)
{
wclass = kFloatingWindowClass ;
if ( HasFlag( wxSTAY_ON_TOP ) )
wclass = kUtilityWindowClass;
else
wclass = kFloatingWindowClass;
if ( HasFlag(wxTINY_CAPTION_VERT) )
attr |= kWindowSideTitlebarAttribute ;