X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d9bdbc5673baf7042f6ba9a11d92435b50aba434..faeb3cedce9ae68adf6acdfec6d9ee23fba9c5e5:/wxPython/demo/PopupMenu.py?ds=inline diff --git a/wxPython/demo/PopupMenu.py b/wxPython/demo/PopupMenu.py index a1786bfdf6..45925f22d5 100644 --- a/wxPython/demo/PopupMenu.py +++ b/wxPython/demo/PopupMenu.py @@ -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()