]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxXmlResourceHandler.py
fix Union(empty rect) bug
[wxWidgets.git] / wxPython / demo / wxXmlResourceHandler.py
index 82acf0b73429d39077063da6ee6d63dc86817d68..dda5005d4efd644e38745327991bfa92cfd35194 100644 (file)
@@ -29,6 +29,7 @@ class MyBluePanel(wxPanel):
         # silly example.  It could just as easily have been done in
         # the resource.
         self.SetBackgroundColour("BLUE")
+        self.SetForegroundColour("WHITE")
 
 
 # To do it the more complex way, (see below) we need to write the
@@ -43,6 +44,8 @@ class PreMyBluePanel(wxPanel):
     def Create(self, parent, id, pos, size, style, name):
         wxPanel.Create(self, parent, id, pos, size, style, name)
         self.SetBackgroundColour("BLUE")
+        self.SetForegroundColour("WHITE")
+
 
 #----------------------------------------------------------------------