]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/run.py
apparently the check for too small rect is needed not only with wxNB_MULTILINE (see...
[wxWidgets.git] / wxPython / demo / run.py
index f27591bc7144a9bb36e67c08b1a933bbf4611d26..ca9ba3eb915e6c2657d6548f42bfde820213f981 100755 (executable)
@@ -59,7 +59,7 @@ class RunDemoApp(wx.App):
         menuBar = wx.MenuBar()
         menu = wx.Menu()
         item = menu.Append(-1, "E&xit\tAlt-X", "Exit demo")
         menuBar = wx.MenuBar()
         menu = wx.Menu()
         item = menu.Append(-1, "E&xit\tAlt-X", "Exit demo")
-        self.Bind(wx.EVT_MENU, self.OnExit, item)
+        self.Bind(wx.EVT_MENU, self.OnExitApp, item)
         menuBar.Append(menu, "&File")
 
         ns = {}
         menuBar.Append(menu, "&File")
 
         ns = {}
@@ -115,7 +115,7 @@ class RunDemoApp(wx.App):
         return True
 
 
         return True
 
 
-    def OnExit(self, evt):
+    def OnExitApp(self, evt):
         self.frame.Close(True)
 
 
         self.frame.Close(True)