From bb403e185f2532be772247c2acca5df67684657b Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 30 Jun 2017 10:20:19 -0700 Subject: [PATCH] update unittest --- unittests/test_statbmp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unittests/test_statbmp.py b/unittests/test_statbmp.py index b480daf7..a5ce22b2 100644 --- a/unittests/test_statbmp.py +++ b/unittests/test_statbmp.py @@ -14,7 +14,7 @@ class statbmp_Tests(wtc.WidgetTestCase): def test_statbmpCtor(self): bmp = wx.Bitmap(pngFile) sb = wx.StaticBitmap(self.frame, -1, bmp) - sb = wx.StaticBitmap(self.frame, label=bmp) + sb = wx.StaticBitmap(self.frame, bitmap=bmp) def test_statbmpDefaultCtor(self): @@ -25,7 +25,7 @@ class statbmp_Tests(wtc.WidgetTestCase): def test_statbmpProperties(self): bmp = wx.Bitmap(pngFile) - sb = wx.StaticBitmap(self.frame, label=bmp) + sb = wx.StaticBitmap(self.frame, bitmap=bmp) sb.Bitmap sb.Bitmap = wx.Bitmap(pngFile2)