mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 01:30:07 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user