- self.sampleText = wx.TextCtrl(self, -1, "Sample Text")
- #from wxPython.lib.stattext import wxGenStaticText
- #self.sampleText = wxGenStaticText(self, -1, "Sample Text")
+ self.sampleText = stattext.GenStaticText(self, -1, "Sample Text")
+ self.sampleText.SetBackgroundColour(wx.WHITE)