fix for testing if a property is in allParams - it must be a sequence

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Roman Rolinsky
2007-05-03 07:35:01 +00:00
parent 49c9d05986
commit 610e05a433

View File

@@ -191,7 +191,7 @@ class xxxObject:
hasName = True # has name attribute? hasName = True # has name attribute?
isSizer = hasChild = False isSizer = hasChild = False
isElement = True isElement = True
allParams = None # Some nodes have no parameters allParams = [] # Some nodes have no parameters
# Style parameters (all optional) # Style parameters (all optional)
styles = ['fg', 'bg', 'font', 'enabled', 'focused', 'hidden', 'tooltip'] styles = ['fg', 'bg', 'font', 'enabled', 'focused', 'hidden', 'tooltip']
# Special parameters # Special parameters