Update wx.Image.Scale doc snippet

This commit is contained in:
Robin Dunn
2016-09-19 17:28:29 -07:00
parent ad4196b7a7
commit b57b645cce

View File

@@ -6,9 +6,9 @@
if bmp.GetWidth() != 32 or bmp.GetHeight() != 32:
image = bmp.ConvertToImage()
bmp = wx.BitmapFromImage(image.Scale(32, 32))
bmp = wx.Bitmap(image.Scale(32, 32))
# another possibility:
image.Rescale(32, 32)
bmp = wx.BitmapFromImage(image)
bmp = wx.Bitmap(image)