class ColoredPanel(wxWindow):
def __init__(self, parent, color):
- wxWindow.__init__(self, parent, -1,
- wxDefaultPosition, wxDefaultSize, wxRAISED_BORDER)
+ wxWindow.__init__(self, parent, -1, style = wxSIMPLE_BORDER) #wxRAISED_BORDER)
self.SetBackgroundColour(color)
#---------------------------------------------------------------------------