From de809c336ecc012a1e40b45ac8082e7e84fd72b2 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 24 Jul 2007 10:16:09 +0000 Subject: [PATCH] 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 --- src/mac/carbon/toplevel.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mac/carbon/toplevel.cpp b/src/mac/carbon/toplevel.cpp index 704a45f062..0fe00286e4 100644 --- a/src/mac/carbon/toplevel.cpp +++ b/src/mac/carbon/toplevel.cpp @@ -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 ;