]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/PopupMenu.py
Take into account Info.plist
[wxWidgets.git] / wxPython / demo / PopupMenu.py
index a1786bfdf6a58a1612ba681b24001b1557789114..45925f22d54df65d601a5f8911054568587fd211 100644 (file)
@@ -97,7 +97,7 @@ class TestPanel(wx.Panel):
 
         # Popup the menu.  If an item is selected then its handler
         # will be called before PopupMenu returns.
-        self.PopupMenu(menu, event.GetPosition())
+        self.PopupMenu(menu)
         menu.Destroy()