diff --git a/wxPython/demo/wxTextCtrl.py b/wxPython/demo/wxTextCtrl.py index a62358571a..7f95bd229f 100644 --- a/wxPython/demo/wxTextCtrl.py +++ b/wxPython/demo/wxTextCtrl.py @@ -89,7 +89,7 @@ class TestPanel(wxPanel): #self.tc.Remove(5, 9) def OnTestWriteText(self, evt): - self.tc1.WriteText("TEXT") + self.tc.WriteText("TEXT") def OnTestGetSelection(self, evt): start, end = self.tc.GetSelection()