]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/mac/grid.py
reSWIGged
[wxWidgets.git] / wxPython / src / mac / grid.py
index 4c0838bf04eef682e6dea39df4f483daa9305f15..2c4c942c79b9da486fa5d2cf8bba4c3d89ae65a8 100644 (file)
@@ -1137,7 +1137,7 @@ class GridCellCoords(object):
     def __str__(self):                   return str(self.Get())
     def __repr__(self):                  return 'wxGridCellCoords'+str(self.Get())
     def __len__(self):                   return len(self.Get())
-    def __getitem__(self, index):        return self.asTuple()[index]
+    def __getitem__(self, index):        return self.Get()[index]
     def __setitem__(self, index, val):
         if index == 0: self.SetRow(val)
         elif index == 1: self.SetCol(val)