From cf0761e9fc8cfa16c1184c61ff07347177874297 Mon Sep 17 00:00:00 2001 From: cztomczak Date: Fri, 17 Aug 2018 14:41:50 +0200 Subject: [PATCH] Fix style issues in wxpython.py --- examples/wxpython.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/wxpython.py b/examples/wxpython.py index c42d3fe7..915f7dff 100644 --- a/examples/wxpython.py +++ b/examples/wxpython.py @@ -102,15 +102,16 @@ def __init__(self): global g_count_windows g_count_windows += 1 - # noinspection PyUnresolvedReferences, PyArgumentList if WINDOWS: + # noinspection PyUnresolvedReferences, PyArgumentList print("[wxpython.py] System DPI settings: %s" % str(cef.DpiAware.GetSystemDpi())) if hasattr(wx, "GetDisplayPPI"): print("[wxpython.py] wx.GetDisplayPPI = %s" % wx.GetDisplayPPI()) print("[wxpython.py] wx.GetDisplaySize = %s" % wx.GetDisplaySize()) - print("[wxpython.py] MainFrame declared size: %s" % str((WIDTH, HEIGHT))) + print("[wxpython.py] MainFrame declared size: %s" + % str((WIDTH, HEIGHT))) size = scale_window_size_for_high_dpi(WIDTH, HEIGHT) print("[wxpython.py] MainFrame DPI scaled size: %s" % str(size))