]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/ExpandoTextCtrl.py
handle starting out with multiple lines of text.
[wxWidgets.git] / wxPython / demo / ExpandoTextCtrl.py
index 0315a39e2f22ccefe36c3a47ab4946e1b94ce22d..9c967e828747cb4affa0b27455323c9a8605de1c 100644 (file)
@@ -96,8 +96,8 @@ class TestPanel(wx.Panel):
 
 
     def OnButton(self, evt):
-        win = TestFrame(self)
-        win.Show(True)
+        self.win = TestFrame(self)
+        self.win.Show(True)
 
   
 #----------------------------------------------------------------------