]> git.saurik.com Git - wxWidgets.git/commitdiff
Make the 'this' attribute a real attribute of the Facade, not a
authorRobin Dunn <robin@alldunn.com>
Mon, 6 Mar 2006 20:19:25 +0000 (20:19 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 6 Mar 2006 20:19:25 +0000 (20:19 +0000)
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

wxPython/wx/py/shell.py

index dbd4c268dd178de109f5f763ac9fccfdf641d165..6f89357ddd3f79bc99e7218f913ad4c24a758649 100644 (file)
@@ -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."""