X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d20c6820bb0ff26494f75eb7dc182238eac8fe4b..42f8298f6f42d5d63bb3caf65682b7d9d9f8b702:/wxPython/src/_app_ex.py diff --git a/wxPython/src/_app_ex.py b/wxPython/src/_app_ex.py index 221f313d6b..bae7df624e 100644 --- a/wxPython/src/_app_ex.py +++ b/wxPython/src/_app_ex.py @@ -165,6 +165,9 @@ your Mac.""" if redirect: self.RedirectStdio(filename) + # Use Python's install prefix as the default + wx.StandardPaths.Get().SetInstallPrefix(_sys.prefix) + # This finishes the initialization of wxWindows and then calls # the OnInit that should be present in the derived class self._BootstrapApp()