From: Roman Rolinsky Date: Sun, 26 Dec 2004 02:32:23 +0000 (+0000) Subject: wxIcon correctly handled now (it has no "icon" tag) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f19b8f1124a173164b44549e93cba4109cea7af6?ds=inline wxIcon correctly handled now (it has no "icon" tag) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/wx/tools/XRCed/xxx.py b/wxPython/wx/tools/XRCed/xxx.py index 535c6e2395..7f976a90b7 100644 --- a/wxPython/wx/tools/XRCed/xxx.py +++ b/wxPython/wx/tools/XRCed/xxx.py @@ -238,9 +238,11 @@ class xxxObject: else: # simple parameter self.params[tag] = xxxParam(node) else: + pass # Remove all other nodes - element.removeChild(node) - node.unlink() +# element.removeChild(node) +# node.unlink() + # Check that all required params are set for param in self.required: if not self.params.has_key(param): @@ -416,8 +418,7 @@ class xxxBitmap(xxxObject): # Just like bitmap class xxxIcon(xxxObject): - allParams = ['icon'] - required = ['icon'] + allParams = [] ################################################################################ # Controls