]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/ColourDB.py
Font size adjustment
[wxWidgets.git] / wxPython / demo / ColourDB.py
index 3c6c82352060c7db692baba745c2e9f27e7b8ade..6faf3e464ba702aa50a5fef21334950feddffc66 100644 (file)
@@ -53,6 +53,7 @@ class TestWindow(wx.ScrolledWindow):
             
         # Event handlers - moved here so events won't fire before init is 
         # finished.
+        self.SetBackgroundStyle(wx.BG_STYLE_CUSTOM)
         self.Bind(wx.EVT_PAINT, self.OnPaint)
         self.Bind(wx.EVT_ERASE_BACKGROUND, self.OnEraseBackground)