From: Robin Dunn Date: Mon, 6 Mar 2006 20:19:25 +0000 (+0000) Subject: Make the 'this' attribute a real attribute of the Facade, not a X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c15cc56f2d829c87360fdcadd93646c4b991706c Make the 'this' attribute a real attribute of the Facade, not a viritual one. This is needed because of some SWIG optimizations that will skip using getattr to find the 'this'. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/wx/py/shell.py b/wxPython/wx/py/shell.py index dbd4c268dd..6f89357ddd 100644 --- a/wxPython/wx/py/shell.py +++ b/wxPython/wx/py/shell.py @@ -168,6 +168,7 @@ class ShellFacade: d = self.__dict__ d['other'] = other d['helpText'] = HELP_TEXT + d['this'] = other.this def help(self): """Display some useful information about how to use the shell."""