X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d20c6820bb0ff26494f75eb7dc182238eac8fe4b..f78e4942ec0f3f6abd2992502e2d6c5c2e8e55f6:/wxPython/src/_app_ex.py?ds=inline 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()