Fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -63,12 +63,11 @@ def _rename(d_new, d_old, modulename=None):
|
||||
else:
|
||||
# add everything else unchanged
|
||||
new = old
|
||||
if _newnames.has_key(old):
|
||||
if not _newnames.has_key(old):
|
||||
d_new[new] = obj
|
||||
_newnames[old] = prefix + new # add fully qualified new name to lookup using old name as key
|
||||
|
||||
# rename the wx namespace itself
|
||||
|
||||
_rename(globals(), wx.__dict__)
|
||||
del wx
|
||||
|
||||
|
Reference in New Issue
Block a user