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:
@@ -238,9 +238,11 @@ class xxxObject:
|
|||||||
else: # simple parameter
|
else: # simple parameter
|
||||||
self.params[tag] = xxxParam(node)
|
self.params[tag] = xxxParam(node)
|
||||||
else:
|
else:
|
||||||
|
pass
|
||||||
# Remove all other nodes
|
# Remove all other nodes
|
||||||
element.removeChild(node)
|
# element.removeChild(node)
|
||||||
node.unlink()
|
# node.unlink()
|
||||||
|
|
||||||
# Check that all required params are set
|
# Check that all required params are set
|
||||||
for param in self.required:
|
for param in self.required:
|
||||||
if not self.params.has_key(param):
|
if not self.params.has_key(param):
|
||||||
@@ -416,8 +418,7 @@ class xxxBitmap(xxxObject):
|
|||||||
|
|
||||||
# Just like bitmap
|
# Just like bitmap
|
||||||
class xxxIcon(xxxObject):
|
class xxxIcon(xxxObject):
|
||||||
allParams = ['icon']
|
allParams = []
|
||||||
required = ['icon']
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Controls
|
# Controls
|
||||||
|
Reference in New Issue
Block a user