Phoenix: handle the ::wxSomething case (no, really, wxWindow::wxSetCursor in wxSetCursorEvent????)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Andrea Gavana
2012-12-04 22:05:51 +00:00
parent 6eb532bdc5
commit 44bd22d409

View File

@@ -355,6 +355,8 @@ def ConvertToPython(text):
newword = RemoveWxPrefix(newword)
if "::" in word and not word.endswith("::"):
# Bloody SetCursorEvent...
word = word.replace("::wx", ".")
word = word.replace("::", ".")
word = "`%s`"%word
newline.append(word)