Turn off using wx-dpi-aware.manifest for Python 2.7 builds

This commit is contained in:
Robin Dunn
2019-12-12 12:18:54 -08:00
parent 78e33dd817
commit 18b30fc2e6
2 changed files with 8 additions and 0 deletions

View File

@@ -226,6 +226,7 @@ def main(wxDir, args):
"features" : ("", "A comma-separated list of wxUSE_XYZ defines on Win, or a list of configure flags on unix."),
"verbose" : (False, "Print commands as they are run, (to aid with debugging this script)"),
"jom" : (False, "Use jom.exe instead of nmake for MSW builds."),
"no_dpi_aware" : (False, "Don't use the DPI_AWARE_MANIFEST."),
}
parser = optparse.OptionParser(usage="usage: %prog [options]", version="%prog 1.0")
@@ -468,6 +469,10 @@ def main(wxDir, args):
if options.jom:
nmakeCommand = 'jom.exe'
if options.no_dpi_aware:
args.append("USE_DPI_AWARE_MANIFEST=0")
wxBuilder = builder.MSVCBuilder(commandName=nmakeCommand)
if toolkit == "msvcProject":