]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/tools/XRCed/panel.py
Code cleaning: whitespaces, -1/wxID_ANY/wxDefaultCoord, TRUE/true, FALSE/false, ...
[wxWidgets.git] / wxPython / wx / tools / XRCed / panel.py
index f58014800ec1cf02a2dc7acf49f1c76bdb5d51e9..11aac42caced0f67e246621cbdf180bd63191737 100644 (file)
@@ -51,13 +51,13 @@ class Panel(wxNotebook):
         topSizer = page.GetSizer()
         sizer = topSizer.GetChildren()[0].GetSizer()
         for w in page.GetChildren():
         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()
             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
         # Create new windows
         sizer = wxBoxSizer(wxVERTICAL)
         # Special case - resize html window