X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..a92b0cfd2bd0bef75b43c071df0b0e028f360d8e:/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) #---------------------------------------------------------------------------