mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 12:30:07 +01:00
Merge pull request #2252 from newville/master
OSX: remove check of SetFrontProcess() before App is fully initialized
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user