]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxStaticText.py
Another demo tweak
[wxWidgets.git] / wxPython / demo / wxStaticText.py
index 6d047bd0e76c7be4b073258bbd52f06e6ab001eb..ff3d3c70eea7184eb4cdf46ba230368333f419e9 100644 (file)
@@ -14,7 +14,7 @@ class TestPanel(wxPanel):
                      wxPoint(20, 30))
 
         wxStaticText(self, -1, "Is this yellow?",
-                     wxPoint(20, 70)).SetBackgroundColour(wxNamedColour('Yellow'))
+                     wxPoint(20, 70)).SetBackgroundColour('Yellow')
 
         str = "This is a different font."
         text = wxStaticText(self, -1, str, wxPoint(20, 100))