Added a typemap that converts the references returned for some GDI
authorRobin Dunn <robin@alldunn.com>
Wed, 3 Mar 2004 02:02:28 +0000 (02:02 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 3 Mar 2004 02:02:28 +0000 (02:02 +0000)
commitd19a83a5ac67c97c208e28289bbf4adaee6b4134
treed27e80c21fab20d677385eb219f8a84edf50fd60
parent36c8c4718a0a3a5caccad927b43237a8fc8feec7
Added a typemap that converts the references returned for some GDI
objects (Brush, Pen, Font, etc.) into copies, (taking advantage of the
copy-on-write capabilities of the C++ class.)  This is to work around
an issue where getting a GDI object changing it and setting it back to
the DC would trigger an incorrect optimization.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
wxPython/src/my_typemaps.i