]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/ColorPanel.py
fix text scrolling in GTK2 (patch 703988)
[wxWidgets.git] / wxPython / demo / ColorPanel.py
index f90a8b0e73e46fa7102d73b9715b1f0830b462c7..f7dc76ba0b696132e4aaf6b18af980886ad036a7 100644 (file)
@@ -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)
 
 #---------------------------------------------------------------------------