]> git.saurik.com Git - wxWidgets.git/commit - wxPython/docs/BUILD.unix.txt
Implemented the first phase of OOR (Original Object Return). See the
authorRobin Dunn <robin@alldunn.com>
Fri, 18 May 2001 05:20:01 +0000 (05:20 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 18 May 2001 05:20:01 +0000 (05:20 +0000)
commit9df61a29d2ff6ec6037c04a4da6d5418c1a5fbc9
tree10a9954b2566386bdc9e51e8e0223d3c7f3ac234
parent419c299ae50da93b157c707cb983520611f9d31e
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@10202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
50 files changed:
wxPython/BUILD.unix.txt
wxPython/BUILD.win32.txt
wxPython/b
wxPython/contrib/glcanvas/gtk/glcanvas.cpp
wxPython/contrib/glcanvas/gtk/glcanvas.py
wxPython/contrib/ogl/oglshapes2.cpp
wxPython/src/gtk/calendar.cpp
wxPython/src/gtk/clip_dnd.cpp
wxPython/src/gtk/clip_dnd.py
wxPython/src/gtk/cmndlgs.cpp
wxPython/src/gtk/cmndlgs.py
wxPython/src/gtk/controls.cpp
wxPython/src/gtk/controls2.cpp
wxPython/src/gtk/controls2.py
wxPython/src/gtk/events.cpp
wxPython/src/gtk/events.py
wxPython/src/gtk/filesys.cpp
wxPython/src/gtk/filesys.py
wxPython/src/gtk/frames.cpp
wxPython/src/gtk/frames.py
wxPython/src/gtk/gdi.cpp
wxPython/src/gtk/gdi.py
wxPython/src/gtk/grid.cpp
wxPython/src/gtk/grid.py
wxPython/src/gtk/html.cpp
wxPython/src/gtk/html.py
wxPython/src/gtk/htmlhelp.cpp
wxPython/src/gtk/image.cpp
wxPython/src/gtk/image.py
wxPython/src/gtk/mdi.cpp
wxPython/src/gtk/mdi.py
wxPython/src/gtk/misc.cpp
wxPython/src/gtk/misc.py
wxPython/src/gtk/misc2.cpp
wxPython/src/gtk/misc2.py
wxPython/src/gtk/printfw.cpp
wxPython/src/gtk/printfw.py
wxPython/src/gtk/sizers.cpp
wxPython/src/gtk/sizers.py
wxPython/src/gtk/stattool.cpp
wxPython/src/gtk/stattool.py
wxPython/src/gtk/streams.cpp
wxPython/src/gtk/windows.cpp
wxPython/src/gtk/windows.py
wxPython/src/gtk/windows2.cpp
wxPython/src/gtk/windows2.py
wxPython/src/gtk/windows3.cpp
wxPython/src/gtk/windows3.py
wxPython/src/gtk/wx.cpp
wxPython/src/gtk/wx.py