X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d4b73b1b8e585418459362c9bf9173aa21da8c41..50c8b82054d96a9cc846d09ed98eecad07907be0:/wxPython/wx/lib/grids.py

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 = []