X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c75a4cf0f94cbe53bfde4fbcddff741158fbc7c..b4eecebd423df0c6efe86d7658cd3df818d67ed8:/wxPython/demo/Grid_MegaExample.py?ds=inline diff --git a/wxPython/demo/Grid_MegaExample.py b/wxPython/demo/Grid_MegaExample.py index 1350637992..0a7f0c590c 100644 --- a/wxPython/demo/Grid_MegaExample.py +++ b/wxPython/demo/Grid_MegaExample.py @@ -354,7 +354,7 @@ class MegaGrid(Grid.Grid): self.Bind(wx.EVT_MENU, append, id=appendID) self.Bind(wx.EVT_MENU, delete, id=deleteID) - self.PopupMenu(menu, (x, yo)) + self.PopupMenu(menu) menu.Destroy() return @@ -388,7 +388,7 @@ class MegaGrid(Grid.Grid): if len(cols) == 1: self.Bind(wx.EVT_MENU, sort, id=sortID) - self.PopupMenu(menu, (xo, 0)) + self.PopupMenu(menu) menu.Destroy() return