X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/289128a4fb1383e46d3478d605bd574a89aeb548..d71cc120e315b27466cce577115b9bdf56b1ca55:/wxPython/wx/tools/XRCed/panel.py diff --git a/wxPython/wx/tools/XRCed/panel.py b/wxPython/wx/tools/XRCed/panel.py index f58014800e..11aac42cac 100644 --- a/wxPython/wx/tools/XRCed/panel.py +++ b/wxPython/wx/tools/XRCed/panel.py @@ -51,13 +51,13 @@ class Panel(wxNotebook): topSizer = page.GetSizer() sizer = topSizer.GetChildren()[0].GetSizer() for w in page.GetChildren(): - sizer.RemoveWindow(w) + sizer.Remove(w) if isinstance(w, ParamPage): # With SetParent, we wouldn't need this w.Reparent(self.cacheParent) else: w.Destroy() - topSizer.RemoveSizer(sizer) + topSizer.Remove(sizer) # Create new windows sizer = wxBoxSizer(wxVERTICAL) # Special case - resize html window