Avoid an assert. This test can be exended when wxIcon is wrapped.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2011-11-10 23:55:47 +00:00
parent aeea4601df
commit 79f16f2e93

View File

@@ -27,10 +27,10 @@ class statbmp_Tests(wtc.WidgetTestCase):
bmp = wx.Bitmap(pngFile)
sb = wx.StaticBitmap(self.frame, label=bmp)
sb.Icon
sb.Bitmap
sb.Bitmap = wx.Bitmap(pngFile2)
#sb.Icon # TODO: this asserts if SetIcon hasn't been called
#---------------------------------------------------------------------------