-SWIG 1.3 Patches
-================
+SWIG 1.3.x Patches
+==================
This directory holds a set of patches for the CVS version of SWIG that
are required if you wish to use SWIG for wxPython development, or for
tracker, so hopefully they will get incorporated into the main SWIG
source tree soon.
-wxPython currently uses the 1.3.22 version of SWIG, which you can get
-from https://sourceforge.net/projects/swig/, plus the patches in this
+wxPython currently uses the 1.3.24 version of SWIG, which you can get
+from https://sourceforge.net/projects/swig/, plus the patch(es) in this
directory. Download the SWIG sources, apply the patch(es) here and
-then build as normal.
+then build as normal. If you want to use both the patched version of
+SWIG and the stock version, then you can configure the patched version
+to use a different --prefix and then specify that executable when
+running setup.py, like this:
+ python setup.py SWIG=/path/to/my/swig [other params]
------------------------------------------------------------------------
+swig-1.3.24.patch
+
+ A bug was introduced in SWIG 1.3.23 and remains in 1.3.24 that
+ causes compilation problems with wxPython (copies are being made
+ of objects that don't have a copy constructor.) This patch fixes
+ the code generator to use a reference to the object instead of
+ making a copy.
+
+ Part of my autodoc patch was disabled becuase a unit-test failed.
+ It turns out that the failure was due to a name clash in the unit
+ test itself, so I re-enabled that section of code in this patch.
+
+ Don't generate the autodocs string for a class if it has a
+ docstring attribute.
+
+ Some typos fixed, etc.
+
+
+
+
+------------------------------------------------------------------------
+This patch was added to SWIG's CVS on 10/2/2004 and a modified version
+of it is in 1.3.23 and 1.3.24.
+------------------------------------------------------------------------
+
swig.python-2.patch