git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9943
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
self.cwd = os.getcwd()
self.curOverview = ""
self.cwd = os.getcwd()
self.curOverview = ""
- icon = wxIconFromXPMData(images.getMondrianData())
+ if 1:
+ icon = wxIconFromXPMData(images.getMondrianData())
+ else:
+ # another way to do it
+ bmp = images.getMondrianBitmap()
+ icon = wxEmptyIcon()
+ icon.CopyFromBitmap(bmp)
+
self.SetIcon(icon)
if wxPlatform == '__WXMSW__':
self.SetIcon(icon)
if wxPlatform == '__WXMSW__':