]> git.saurik.com Git - wxWidgets.git/commit - wxPython/src/_image.i
Implemented the first phase of OOR (Original Object Return). See the
authorRobin Dunn <robin@alldunn.com>
Thu, 17 May 2001 22:47:09 +0000 (22:47 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 17 May 2001 22:47:09 +0000 (22:47 +0000)
commit9416aa89ca06d0fb20b1002e026d2c7ac7aa6a17
treee72e019c492fc4895128fadc65c3a4e4054c057d
parent6618870d16515551b6d00956fbadabddbde5293a
Implemented the first phase of OOR (Original Object Return).  See the
text in the demo for more details of what this means, but in a
nutshell methods such as wxWindow.GetParent or FindWindowById will now
return a shadow object of the proper type if it can.  By "proper type"
I mean that if the wxWindow pointer returned from FindWindowById
really points to a wxButton then the Python object constructed will be
of a wxButtonPtr class instead of wxWindowPtr as before.  This should
reduce or eliminiate the need for wxPyTypeCast.  (Woo Hoo!)  The
objects returned are still not the original Python object, but that is
the next step.  (Although it will probably only work on Python 2.1 and
beyond because it will use weak references.)

A few other minor tweaks and fixes and additions for things found
while doing the OOR stuff.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
106 files changed:
wxPython/CHANGES.txt
wxPython/SWIG/README.txt
wxPython/SWIG/python.cxx.patch [new file with mode: 0644]
wxPython/b.bat
wxPython/contrib/glcanvas/glcanvas.i
wxPython/contrib/glcanvas/msw/glcanvas.cpp
wxPython/contrib/glcanvas/msw/glcanvas.py
wxPython/contrib/ogl/_ogldefs.i
wxPython/contrib/ogl/_oglextras.py
wxPython/contrib/ogl/ogl.cpp
wxPython/contrib/ogl/ogl.i
wxPython/contrib/ogl/ogl.py
wxPython/contrib/ogl/oglbasic.cpp
wxPython/contrib/ogl/oglbasic.i
wxPython/contrib/ogl/oglbasic.py
wxPython/contrib/ogl/oglcanvas.cpp
wxPython/contrib/ogl/oglcanvas.i
wxPython/contrib/ogl/oglcanvas.py
wxPython/contrib/ogl/oglhelpers.h
wxPython/contrib/ogl/oglshapes.cpp
wxPython/contrib/ogl/oglshapes.i
wxPython/contrib/ogl/oglshapes.py
wxPython/contrib/ogl/oglshapes2.cpp
wxPython/contrib/ogl/oglshapes2.i
wxPython/contrib/ogl/oglshapes2.py
wxPython/demo/GridHugeTable.py
wxPython/demo/GridSimple.py
wxPython/demo/GridStdEdRend.py
wxPython/demo/Main.py
wxPython/demo/OOR.py [new file with mode: 0644]
wxPython/demo/data/grid.i
wxPython/demo/wxListCtrl.py
wxPython/demo/wxTreeCtrl.py
wxPython/demo/wxValidator.py
wxPython/src/_defs.i
wxPython/src/_extras.py
wxPython/src/_htmlextras.py
wxPython/src/clip_dnd.i
wxPython/src/cmndlgs.i
wxPython/src/controls2.i
wxPython/src/events.i
wxPython/src/export.h
wxPython/src/filesys.i
wxPython/src/frames.i
wxPython/src/gdi.i
wxPython/src/grid.i
wxPython/src/helpers.cpp
wxPython/src/helpers.h
wxPython/src/html.i
wxPython/src/image.i
wxPython/src/libpy.c
wxPython/src/misc.i
wxPython/src/misc2.i
wxPython/src/msw/calendar.cpp
wxPython/src/msw/clip_dnd.cpp
wxPython/src/msw/clip_dnd.py
wxPython/src/msw/cmndlgs.cpp
wxPython/src/msw/cmndlgs.py
wxPython/src/msw/controls.cpp
wxPython/src/msw/controls2.cpp
wxPython/src/msw/controls2.py
wxPython/src/msw/events.cpp
wxPython/src/msw/events.py
wxPython/src/msw/filesys.cpp
wxPython/src/msw/filesys.py
wxPython/src/msw/frames.cpp
wxPython/src/msw/frames.py
wxPython/src/msw/gdi.cpp
wxPython/src/msw/gdi.py
wxPython/src/msw/grid.cpp
wxPython/src/msw/grid.py
wxPython/src/msw/html.cpp
wxPython/src/msw/html.py
wxPython/src/msw/htmlhelp.cpp
wxPython/src/msw/image.cpp
wxPython/src/msw/image.py
wxPython/src/msw/mdi.cpp
wxPython/src/msw/mdi.py
wxPython/src/msw/misc.cpp
wxPython/src/msw/misc.py
wxPython/src/msw/misc2.cpp
wxPython/src/msw/misc2.py
wxPython/src/msw/printfw.cpp
wxPython/src/msw/printfw.py
wxPython/src/msw/sizers.cpp
wxPython/src/msw/sizers.py
wxPython/src/msw/stattool.cpp
wxPython/src/msw/stattool.py
wxPython/src/msw/streams.cpp
wxPython/src/msw/windows.cpp
wxPython/src/msw/windows.py
wxPython/src/msw/windows2.cpp
wxPython/src/msw/windows2.py
wxPython/src/msw/windows3.cpp
wxPython/src/msw/windows3.py
wxPython/src/msw/wx.cpp
wxPython/src/msw/wx.py
wxPython/src/my_typemaps.i
wxPython/src/printfw.i
wxPython/src/sizers.i
wxPython/src/stattool.i
wxPython/src/streams.i
wxPython/src/windows.i
wxPython/src/windows2.i
wxPython/src/windows3.i
wxPython/src/wx.i