-        wxStaticText(self, -1, "Is this yellow?",
-                     wxPoint(20, 70)).SetBackgroundColour(wxNamedColour('Yellow'))
+        wx.StaticText(
+            self, -1, "align center", (120, 70), (90, -1), wx.ALIGN_CENTER
+            ).SetBackgroundColour('Yellow')
+
+        wx.StaticText(
+            self, -1, "align right", (220, 70), (90, -1), wx.ALIGN_RIGHT
+            ).SetBackgroundColour('Yellow')