-        lang  = wxStaticText(self, -1, lang)
-        text1 = wxStaticText(self, -1, text1)
-        text2 = wxStaticText(self, -1, text2, style=wxALIGN_RIGHT)
+        lang  = wx.StaticText(self, -1, lang)
+        text1 = wx.StaticText(self, -1, text1)
+        text2 = wx.StaticText(self, -1, text2, style=wx.ALIGN_RIGHT)