X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/70ddb200c10bb6f1075f4a39452fdcf77f84fdf5..920b9675d9e4ae7f721bd6eeb85c184a74434f7b:/src/mac/app.cpp diff --git a/src/mac/app.cpp b/src/mac/app.cpp index ebc798b4fd..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,12 @@ void wxApp::MacSuspend( bool convertClipboard ) while (node) { wxTopLevelWindow* win = (wxTopLevelWindow*) node->Data(); - win->MacActivate( ((EventRecord*) MacGetCurrentEvent())->when , false ) ; +#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(); }