X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6a7e6411614132968a7a0206173609ae62ce5cf6..0b49ccf8d66e2568e2b0de85c25b406aad39f3b1:/src/mac/app.cpp?ds=inline diff --git a/src/mac/app.cpp b/src/mac/app.cpp index 546bdf8bb3..ecf1ec44b2 100644 --- a/src/mac/app.cpp +++ b/src/mac/app.cpp @@ -219,7 +219,7 @@ short wxApp::MacHandleAEOApp(const WXEVENTREF WXUNUSED(event) , WXEVENTREF WXUNU return noErr ; } -// AEQuit attempts to quite the application +// AEQuit attempts to quit the application short wxApp::MacHandleAEQuit(const WXEVENTREF WXUNUSED(event) , WXEVENTREF WXUNUSED(reply)) { @@ -1399,7 +1399,11 @@ void wxApp::MacSuspend( bool convertClipboard ) while (node) { wxTopLevelWindow* win = (wxTopLevelWindow*) node->Data(); +#if TARGET_CARBON +#if 0 // having problems right now with that if (!win->HasFlag(wxSTAY_ON_TOP)) +#endif +#endif win->MacActivate( ((EventRecord*) MacGetCurrentEvent())->when , false ) ; node = node->GetNext();