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:
Robin Dunn
2003-04-30 00:39:15 +00:00
parent e2a07240ee
commit a16bcfcef2
12 changed files with 528 additions and 109 deletions

View File

@@ -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();
}