()
| 60 | |
| 61 | |
| 62 | def check_versions(): |
| 63 | print("[wxpython.py] CEF Python {ver}".format(ver=cef.__version__)) |
| 64 | print("[wxpython.py] Python {ver} {arch}".format( |
| 65 | ver=platform.python_version(), arch=platform.architecture()[0])) |
| 66 | print("[wxpython.py] wxPython {ver}".format(ver=wx.version())) |
| 67 | # CEF Python version requirement |
| 68 | assert cef.__version__ >= "66.0", "CEF Python v66.0+ required to run this" |
| 69 | |
| 70 | |
| 71 | def scale_window_size_for_high_dpi(width, height): |