]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/tools/XRCed/xrced.py
Don't cache property and style panels as wxMac can't do Reparenting
[wxWidgets.git] / wxPython / wx / tools / XRCed / xrced.py
index 033ad45ff3af57c7414d03731bbae6173767ffe9..8cb9c034ec397028d6b5a6d35dc39205c39070ce 100644 (file)
@@ -794,8 +794,6 @@ Homepage: http://xrced.sourceforge.net\
     def OnCloseWindow(self, evt):
         if not self.AskSave(): return
         if g.testWin: g.testWin.Destroy()
-        # Destroy cached windows
-        panel.cacheParent.Destroy()
         if not panel.GetPageCount() == 2:
             panel.page2.Destroy()
         if not self.IsIconized():