X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d9bdbc5673baf7042f6ba9a11d92435b50aba434..b41b09e28513f8b30065914eeb1051a0a32e6e1b:/wxPython/demo/PopupMenu.py 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()