Skip to content

Commit

Permalink
OSX: remove check of SetFrontProcess() before App may be fully initia…
Browse files Browse the repository at this point in the history
…lized
  • Loading branch information
newville committed Aug 28, 2022
1 parent 98871b6 commit a789e49
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/app_ex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a789e49

Please sign in to comment.