git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10664
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
else:
index = self.__magicImageList.Add( icon, mask )
else:
else:
index = self.__magicImageList.Add( icon, mask )
else:
- print icon.__class__.__name__
raise ValueError("Unexpected icon object %s, "
"expected wxIcon or wxBitmap" % (icon))
self.__magicImageListMapping [id (icon)] = index
raise ValueError("Unexpected icon object %s, "
"expected wxIcon or wxBitmap" % (icon))
self.__magicImageListMapping [id (icon)] = index