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
This commit is contained in:
Roman Rolinsky
2004-12-26 02:32:23 +00:00
parent af3961b357
commit f19b8f1124

View File

@@ -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