We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ade567 commit 84502b5Copy full SHA for 84502b5
examples/wxpython.py
@@ -103,8 +103,9 @@ def __init__(self):
103
g_count_windows += 1
104
105
# noinspection PyUnresolvedReferences, PyArgumentList
106
- print("[wxpython.py] System DPI settings: %s"
107
- % str(cef.DpiAware.GetSystemDpi()))
+ if WINDOWS:
+ print("[wxpython.py] System DPI settings: %s"
108
+ % str(cef.DpiAware.GetSystemDpi()))
109
print("[wxpython.py] wx.GetDisplayPPI = %s" % wx.GetDisplayPPI())
110
print("[wxpython.py] wx.GetDisplaySize = %s" % wx.GetDisplaySize())
111
0 commit comments