Updated to SWIG 1.3.24 (plus a patch that corrects a bug and adds back

some things that were changed/removed from my patch I submitted to
them.)

Since it is now possible easily and simply share the SWIG type tables
across modules I reverted to always using the stock SWIG runtime
instead of my slightly hacked up version of it exported via the
wxPython C API.

The %name directive is now deprecated so replaced most uses of it with
a custom %Rename macro that uses %rename internally.  These will
evetually need to be replaced with a DocDecl macro when docstrings are
added.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-12-23 20:53:38 +00:00
parent dd06808a42
commit 3c1705d911
8 changed files with 254 additions and 904 deletions

View File

@@ -5,7 +5,7 @@ Recent Changes for wxPython
2.5.3.3
-------
wx.Sizer Add, Insert, and Prepend funcitons now return a reference to the
wx.Sizer Add, Insert, and Prepend functions now return a reference to the
wx.SizerItem that was added to the sizer, and the wx.SizerItem has a
GetRect accessor to give the position of the item on the parent window.
@@ -30,7 +30,6 @@ Added wx.PasswordEntryDialog analagous to wx.TextEntryDialog, allows
detecting entering an empty string vs. cancel unlike the
wx.GetPasswordFromUser dialog function.
OGL patch from Shane Holloway:
Two simple problems found in the new python ogl code. First is
@@ -53,7 +52,7 @@ OGL patch from Shane Holloway:
Fixed GetSaveData and SetSaveData in wx.lib.multisash to not depend on
the default way that class objectss are converted to strings.
Fixed problem in StyledTextCtrl.Set[H|V]ScrollBar that could leave the
Fixed problem in StyledTextCtrl.Set[HV]ScrollBar that could leave the
internal scrollbar visible.
Added wx.StandardPaths which provides methods for determining standard
@@ -73,7 +72,9 @@ wxGTK2: Reimplemented DoDrawRotatedText() by way of a rotation of an
alpha blended text bitmap. It would be better if Pango could draw
directly into an wxImage (as FreeType can,) but that is for later...
Added wrappers and a demo for wx.MediaCtrl.
Added wrappers and a demo for the wx.MediaCtrl class, which can play
various forms of audio/video media using native codecs install on the
system. So far it is only implemented for Windows and OSX.
wxGTK: Patch applied for Freeze()/Thaw() for wxTextCtrtl.
@@ -104,6 +105,35 @@ your timers it will no longer work. Instead you should hold a
reference to the timer and then del the reference when you are
finished with the timer.
Updated to 1.3.24 of SWIG. All of my big patches have been applied to
the main SWIG source tree, but unfortunatly there were also some bugs
added that affected the wxPython build and a few details in my
original patch were changed/removed, so we are still not free of
patches. A new patch for SWIG is located in the wxPython/SWIG
directory of the wxPython source tree. SWIG 1.3.24 plus this patch
should be used by anyone who is making custom modifications to
wxPython's *.i files, or building their own extension modules or
etc. that need to interact with the wxPython swigged types. For the
morbidly curious, here are a few more details:
* Since it is now possible easily and simply share the SWIG type
tables across modules I reverted to always using the stock SWIG
runtime instead of my slightly hacked up version of it exported
via the wxPython C API.
* The %name directive is now deprecated so replaced most uses of
it with a custom %Rename macro that uses %rename internally.
These will evetually need to be replaced with a DocDecl macro
when docstrings are added.
* The "this" attribute of all SWIGged classes is no longer a
string containing a "swigified pointer", but rather a custom
built-in type that holds the real C pointer to the object and
the type info. It can be converted to a string like the old
value using str() or to the long integer value of the pointer
using long().