Fix IO type in wx.lib.agw.thumbnailctrl
* Update thumbnailctrl.py
* Update CHANGES.rst

(cherry picked from commit 10baff1d24)
This commit is contained in:
Mesalu
2018-08-13 21:59:43 -07:00
committed by Robin Dunn
parent 99ecf08a39
commit babea6ff13
2 changed files with 2 additions and 1 deletions

View File

@@ -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!)"
------------------------------------------------------

View File

@@ -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)