- wxStaticText(self, -1, "This is an example of static text",
- wxPoint(20, 10))
+ wxStaticText(self, -1, "This is an example of static text", (20, 10))
+
+ wxStaticText(self, -1, "using the wxStaticText Control.", (20, 30))
+
+ wxStaticText(self, -1, "Is this yellow?", (20, 70), (90, -1)).SetBackgroundColour('Yellow')