Update unittests to work with wxWidgets 3.1.6

This commit is contained in:
Scott Talbert
2022-04-28 19:53:55 -04:00
parent 5dbd14224a
commit 37ba9563b6
17 changed files with 67 additions and 28 deletions

View File

@@ -12,7 +12,7 @@ class ButtonTests(wtc.WidgetTestCase):
def test_ButtonCtors(self):
btn = wx.Button(self.frame, label='label')
btn = wx.Button(self.frame, -1, 'label', (10,10), (100,-1), wx.BU_LEFT)
bmp = wx.Bitmap(pngFile)
bmp = wx.BitmapBundle(wx.Bitmap(pngFile))
btn.SetBitmap(bmp)
def test_ButtonProperties(self):