Recent changes in SWIG make this patch no longer necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -11,12 +11,6 @@ source tree soon.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
|
||||
swig.python-2.patch Adds the ability to turn off the automatic
|
||||
generation of __repr__ methods on a class
|
||||
by class basis. Used in wxPython for
|
||||
classes that have a __repr__ added in
|
||||
%pythoncode directives. See SF Patch
|
||||
#835471.
|
||||
|
||||
|
||||
|
||||
|
@@ -1,19 +0,0 @@
|
||||
Index: Source/Modules/python.cxx
|
||||
===================================================================
|
||||
RCS file: /cvsroot/SWIG/Source/Modules/python.cxx,v
|
||||
retrieving revision 1.26
|
||||
diff -u -r1.26 python.cxx
|
||||
--- Source/Modules/python.cxx 31 Oct 2003 17:55:38 -0000 1.26
|
||||
+++ Source/Modules/python.cxx 4 Nov 2003 01:34:47 -0000
|
||||
@@ -1870,7 +1870,10 @@
|
||||
classic = 0;
|
||||
modern = 1;
|
||||
}
|
||||
-
|
||||
+ if (Getattr(n,"feature:noautorepr")) {
|
||||
+ have_repr = 1;
|
||||
+ }
|
||||
+
|
||||
shadow_indent = (String *) tab4;
|
||||
|
||||
class_name = Getattr(n,"sym:name");
|
Reference in New Issue
Block a user