解决wxPython高分屏下模糊问题
From CSDN:
擦,仅需加入三行代码,即可解决,给这位老哥上烟!
import ctypes
errorCode = ctypes.windll.shcore.SetProcessDpiAwareness(2) # Win10 and Win8
success = ctypes.windll.user32.SetProcessDPIAware() #Win7 and below
From CSDN:
擦,仅需加入三行代码,即可解决,给这位老哥上烟!
import ctypes
errorCode = ctypes.windll.shcore.SetProcessDpiAwareness(2) # Win10 and Win8
success = ctypes.windll.user32.SetProcessDPIAware() #Win7 and below
评论已关闭