mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-08 04:50:07 +01:00
Fix 959 (#962)
Fix IO type in wx.lib.agw.thumbnailctrl
* Update thumbnailctrl.py
* Update CHANGES.rst
(cherry picked from commit 10baff1d24)
This commit is contained in:
@@ -66,6 +66,7 @@ Changes in this release include the following:
|
||||
* Add virtual behavior for wx.RichTextCtrl and wx.TextCtrl's Copy/Cut/Paste methods
|
||||
and their Can* counterparts. (#954)
|
||||
|
||||
* Fix IO type in wx.lib.agw.thumbnailctrl (#959)
|
||||
|
||||
4.0.3 "The show must go on. (Die show-stoppers! Die!)"
|
||||
------------------------------------------------------
|
||||
|
||||
@@ -201,7 +201,7 @@ def GetMondrianBitmap():
|
||||
def GetMondrianImage():
|
||||
""" Returns a default image placeholder as a :class:`wx.Image`. """
|
||||
|
||||
stream = six.StringIO(GetMondrianData())
|
||||
stream = six.BytesIO(GetMondrianData())
|
||||
return wx.Image(stream)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user