Use the dpi-aware manifest, if the compiler is new enough to be able to use it.

This commit is contained in:
Robin Dunn
2019-12-17 19:42:27 -08:00
parent 4fd7956ece
commit e7fbe980e1

View File

@@ -171,6 +171,9 @@ class Configuration(object):
('SIP_MODULE_NAME', 'wx.siplib'),
('SIP_MODULE_BASENAME', 'siplib'),
]
if int(getVisCVersion()) > 100:
self.defines += [ ('wxUSE_RC_MANIFEST', '1'),
('wxUSE_DPI_AWARE_MANIFEST', '2') ]
self.libs = []
self.libdirs = [ opj(self.WXDIR, 'lib', self.VCDLL) ]