X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c3bc3b61841b84d1b81108f8b5133981771da648..f78e4942ec0f3f6abd2992502e2d6c5c2e8e55f6:/wxPython/wx/lib/rcsizer.py diff --git a/wxPython/wx/lib/rcsizer.py b/wxPython/wx/lib/rcsizer.py index 14829fc3de..30a06ca0ef 100644 --- a/wxPython/wx/lib/rcsizer.py +++ b/wxPython/wx/lib/rcsizer.py @@ -113,8 +113,8 @@ class RowColSizer(wx.PySizer): assert row != -1, "Row must be specified" assert col != -1, "Column must be specified" - wx.PySizer.AddSpacer(self, (width, height), option, flag, border, - userData=(row, col, row+rowspan, col+colspan)) + wx.PySizer.Add(self, (width, height), option, flag, border, + userData=(row, col, row+rowspan, col+colspan)) #-------------------------------------------------- def _add( self, size, dim ):