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:
@@ -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
|
||||||
|
if xxx.hasStyle:
|
||||||
paramStyles = xxx.allParams + xxx.styles
|
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':
|
||||||
|
Reference in New Issue
Block a user