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
|
||||
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
|
||||
|
Reference in New Issue
Block a user