]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/grids.py
Fix "warning: operation on 'y' may be undefined".
[wxWidgets.git] / wxPython / wx / lib / grids.py
index 68c8b03226fab3434de20badc95faff90ca43fdb..5adfc20fce1fe5fdec500c1d142efba663554f1d 100644 (file)
@@ -201,7 +201,7 @@ class PyGridSizer(wx.PySizer):
 
 class PyFlexGridSizer(PyGridSizer):
     def __init__(self, rows=0, cols=0, hgap=0, vgap=0):
-        wxGridSizer.__init__(self, rows, cols, hgap, vgap)
+        PyGridSizer.__init__(self, rows, cols, hgap, vgap)
         self.rowHeights = []
         self.colWidths  = []
         self.growableRows = []