Merge pull request #2252 from newville/master

OSX: remove check of SetFrontProcess() before App is fully initialized
This commit is contained in:
Robin Dunn
2022-08-30 18:33:52 -07:00
committed by GitHub

View File

@@ -335,11 +335,7 @@ bool wxPyApp::IsDisplayAvailable()
//
// [NSRunningApplication activateIgnoringOtherApps: YES] ??
//
if (GetCurrentProcess(&psn) < 0 || SetFrontProcess(&psn) < 0) {
rv = false;
} else {
rv = true;
}
rv = true;
}
return rv;
#endif