Shaped window support for wxMac, plus a wxSTAY_ON_TOP fix from Egon
<e_lub@yahoo.com> wxMac requires knowledge before Create that SetShape will be called so I also added the wxFRAME_SHAPED style flag. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1406,7 +1406,8 @@ void wxApp::MacSuspend( bool convertClipboard )
|
||||
while (node)
|
||||
{
|
||||
wxTopLevelWindow* win = (wxTopLevelWindow*) node->Data();
|
||||
win->MacActivate( MacGetCurrentEvent() , false ) ;
|
||||
if (!win->HasFlag(wxSTAY_ON_TOP))
|
||||
win->MacActivate( MacGetCurrentEvent() , false ) ;
|
||||
|
||||
node = node->Next();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user