Update demos to work wxWidgets 3.1.6

This commit is contained in:
Scott Talbert
2022-04-28 23:05:02 -04:00
parent 37ba9563b6
commit 58682ecaf4
8 changed files with 64 additions and 54 deletions

View File

@@ -30,7 +30,7 @@ class TestPanel(wx.Panel):
"above or below the label.")
self.Bind(wx.EVT_BUTTON, self.OnClick, b)
b.SetBitmap(images.Mondrian.Bitmap,
b.SetBitmap(wx.BitmapBundle(images.Mondrian.Bitmap),
wx.LEFT # Left is the default, the image can be on the other sides too
#wx.RIGHT
#wx.TOP