Workaround for toolbartool tooltip not getting written to the XRC file.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2005-03-08 01:47:45 +00:00
parent 6932ae6888
commit a3c8bbc1b4

View File

@@ -201,7 +201,10 @@ class ParamPage(wxPanel):
xxx.params[param] = xxxParam(elem) xxx.params[param] = xxxParam(elem)
# Find place to put new element: first present element after param # Find place to put new element: first present element after param
found = False found = False
paramStyles = xxx.allParams + xxx.styles if xxx.hasStyle:
paramStyles = xxx.allParams + xxx.styles
else:
paramStyles = xxx.allParams
for p in paramStyles[paramStyles.index(param) + 1:]: for p in paramStyles[paramStyles.index(param) + 1:]:
# Content params don't have same type # Content params don't have same type
if xxx.params.has_key(p) and p != 'content': if xxx.params.has_key(p) and p != 'content':