if wx.Platform != '__WXMAC__':
# setup a taskbar icon, and catch some events from it
if wx.Platform != '__WXMAC__':
# setup a taskbar icon, and catch some events from it
icon = wx.IconFromBitmap(
images.getMondrianImage().Scale(dim,dim).ConvertToBitmap() )
#icon = wx.Icon('bmp_source/mondrian.ico', wx.BITMAP_TYPE_ICO)
icon = wx.IconFromBitmap(
images.getMondrianImage().Scale(dim,dim).ConvertToBitmap() )
#icon = wx.Icon('bmp_source/mondrian.ico', wx.BITMAP_TYPE_ICO)