X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..f9ee64b1356530b7f5c957d250d2a1dcbef60f60:/wxPython/demo/ColorPanel.py diff --git a/wxPython/demo/ColorPanel.py b/wxPython/demo/ColorPanel.py index f90a8b0e73..f7dc76ba0b 100644 --- a/wxPython/demo/ColorPanel.py +++ b/wxPython/demo/ColorPanel.py @@ -6,8 +6,7 @@ from wxPython.wx import * 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) #---------------------------------------------------------------------------