def __init__(self, parent, color):
wx.Window.__init__(self, parent, -1, style = wx.SIMPLE_BORDER)
self.SetBackgroundColour(color)
+ if wx.Platform == '__WXGTK__':
+ self.SetBackgroundStyle(wx.BG_STYLE_CUSTOM)
+
#---------------------------------------------------------------------------