Skip to content

Commit cf0761e

Browse files
committed
Fix style issues in wxpython.py
1 parent afb1587 commit cf0761e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

examples/wxpython.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,16 @@ def __init__(self):
102102
global g_count_windows
103103
g_count_windows += 1
104104

105-
# noinspection PyUnresolvedReferences, PyArgumentList
106105
if WINDOWS:
106+
# noinspection PyUnresolvedReferences, PyArgumentList
107107
print("[wxpython.py] System DPI settings: %s"
108108
% str(cef.DpiAware.GetSystemDpi()))
109109
if hasattr(wx, "GetDisplayPPI"):
110110
print("[wxpython.py] wx.GetDisplayPPI = %s" % wx.GetDisplayPPI())
111111
print("[wxpython.py] wx.GetDisplaySize = %s" % wx.GetDisplaySize())
112112

113-
print("[wxpython.py] MainFrame declared size: %s" % str((WIDTH, HEIGHT)))
113+
print("[wxpython.py] MainFrame declared size: %s"
114+
% str((WIDTH, HEIGHT)))
114115
size = scale_window_size_for_high_dpi(WIDTH, HEIGHT)
115116
print("[wxpython.py] MainFrame DPI scaled size: %s" % str(size))
116117

0 commit comments

Comments
 (0)