Skip to content

Commit f64dff5

Browse files
committed
Update README-examples.md and wxpython.py example
1 parent a1c1981 commit f64dff5

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

examples/README-examples.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ workarounds.
3737
discussed in great details in Tutorial in the [Off-screen rendering](../docs/Tutorial.md#off-screen-rendering)
3838
section.
3939

40-
4140
**Embedding using various GUI frameworks**
4241

4342
- [gtk2.py](gtk2.py): example for [PyGTK](http://www.pygtk.org/)
@@ -55,14 +54,14 @@ workarounds.
5554
- [tkinter_.py](tkinter_.py): example for [Tkinter](https://wiki.python.org/moin/TkInter).
5655
Currently broken on Mac ([#309](../../../issues/309)).
5756
- [wxpython.py](wxpython.py): example for [wxPython](https://wxpython.org/)
58-
toolkit
57+
toolkit. This example implements High DPI support on Windows.
5958

6059

6160
**Build executable using Python packagers**
6261

6362
- [PyInstaller example](pyinstaller/README-pyinstaller.md):
6463
example of packaging app using [PyInstaller](http://www.pyinstaller.org/)
65-
packager
64+
packager (currently example supports only Windows platform)
6665

6766

6867
**Unit tests**

examples/wxpython.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# - wxPython 4.0 on Windows/Mac/Linux
66
# - wxPython 3.0 on Windows/Mac
77
# - wxPython 2.8 on Linux
8-
# - CEF Python v55.4+
8+
# - CEF Python v66.0+
99

1010
import wx
1111
from cefpython3 import cefpython as cef
@@ -68,7 +68,7 @@ def check_versions():
6868
ver=platform.python_version(), arch=platform.architecture()[0]))
6969
print("[wxpython.py] wxPython {ver}".format(ver=wx.version()))
7070
# CEF Python version requirement
71-
assert cef.__version__ >= "55.3", "CEF Python v55.3+ required to run this"
71+
assert cef.__version__ >= "66.0", "CEF Python v66.0+ required to run this"
7272

7373

7474
def scale_window_size_for_high_dpi(width, height):

0 commit comments

Comments
 (0)