# Some methods to make it compatible with how the wxTextCtrl is used
def SetValue(self, value):
# Some methods to make it compatible with how the wxTextCtrl is used
def SetValue(self, value):
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)