]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/rcsizer.py
Fixed the double traceback when an exception happens in OnInit
[wxWidgets.git] / wxPython / wx / lib / rcsizer.py
index 482e4a706610f219c4a84bc7fed12b6bf79a3075..752f3203fcd0eb2dee46e4045c6b9b5f7ef8e9fe 100644 (file)
@@ -85,7 +85,7 @@ class RowColSizer(wxPySizer):
         assert row != -1, "Row must be specified"
         assert col != -1, "Column must be specified"
 
-        wxPySizer.AddSpacer(self, width, height, option, flag, border,
+        wxPySizer.AddSpacer(self, (width, height), option, flag, border,
                             userData=(row, col, row+rowspan, col+colspan))
 
     #--------------------------------------------------