X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/409eab506ebe5454e10b7e49da263993e00399ce..7bdfb981a826d29e292738a27700543fa10d2bfb:/wxPython/config.py diff --git a/wxPython/config.py b/wxPython/config.py index f5d5321577..c3a5a8a93a 100644 --- a/wxPython/config.py +++ b/wxPython/config.py @@ -87,7 +87,7 @@ BUILD_DLLWIDGET = 0# Build a module that enables unknown wx widgets # Internet Explorer wrapper (experimental) BUILD_IEWIN = (os.name == 'nt') -BUILD_ACTIVEX = (os.name == 'nt') # new version of IEWIN +BUILD_ACTIVEX = (os.name == 'nt') # new version of IEWIN and more CORE_ONLY = 0 # if true, don't build any of the above @@ -408,7 +408,7 @@ class wx_install_headers(distutils.command.install_headers.install_headers): return root = self.root - if WXPREFIX.startswith(root): + if root is None or WXPREFIX.startswith(root): root = '' for header, location in headers: install_dir = os.path.normpath(root + WXPREFIX + location)