X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/493f1553fdfd276ed9944c5f1c070ee34be13b52..9f873a51d3ce3e28b1f76135c16d13c59400c20a:/wxPython/demo/wxStaticText.py diff --git a/wxPython/demo/wxStaticText.py b/wxPython/demo/wxStaticText.py index 6d047bd0e7..ff3d3c70ee 100644 --- a/wxPython/demo/wxStaticText.py +++ b/wxPython/demo/wxStaticText.py @@ -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))