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:
@@ -1116,7 +1116,10 @@ void wxTopLevelWindowMac::MacCreateRealWindow(
|
|||||||
HasFlag(wxTINY_CAPTION_HORIZ) || HasFlag(wxTINY_CAPTION_VERT)
|
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) )
|
if ( HasFlag(wxTINY_CAPTION_VERT) )
|
||||||
attr |= kWindowSideTitlebarAttribute ;
|
attr |= kWindowSideTitlebarAttribute ;
|
||||||
|
Reference in New Issue
Block a user