X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34a544a635f3bac9320e6eb41aaaa5a5e8d1f5a4..c33c11fa1d2a0c4999e04386e04ac96cd350e853:/wxPython/demo/Grid_MegaExample.py diff --git a/wxPython/demo/Grid_MegaExample.py b/wxPython/demo/Grid_MegaExample.py index acb41434f1..0a7f0c590c 100644 --- a/wxPython/demo/Grid_MegaExample.py +++ b/wxPython/demo/Grid_MegaExample.py @@ -198,8 +198,8 @@ class MegaImageRenderer(Grid.PyGridCellRenderer): self.table = table self._choices = [images.getSmilesBitmap, images.getMondrianBitmap, - images.get_10s_Bitmap, - images.get_01c_Bitmap] + images.getWXPdemoBitmap, + ] self.colSize = None self.rowSize = None @@ -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