X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d4b73b1b8e585418459362c9bf9173aa21da8c41..32485259c1342115488d219776dfebeb3d4d81b1:/wxPython/wx/lib/grids.py?ds=sidebyside diff --git a/wxPython/wx/lib/grids.py b/wxPython/wx/lib/grids.py index cbd82f4316..5adfc20fce 100644 --- a/wxPython/wx/lib/grids.py +++ b/wxPython/wx/lib/grids.py @@ -199,9 +199,9 @@ class PyGridSizer(wx.PySizer): -class PyFlexGridSizer(wxGridSizer): +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 = []