Second phase of OOR completed. (Original python object return for
wxEvtHandler and derived classes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
20
wxPython/SWIG/pycpp.cxx.patch
Normal file
20
wxPython/SWIG/pycpp.cxx.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
*** Modules\pycpp.cxx.orig Mon Oct 08 16:27:42 2001
|
||||
--- Modules\pycpp.cxx Mon Oct 08 16:28:10 2001
|
||||
***************
|
||||
*** 229,235 ****
|
||||
*additional << tab4 << "val = " << class_name << "Ptr(apply("
|
||||
<< module << "." << name_construct(realname) << ",_args,_kwargs))\n"
|
||||
<< tab4 << "val.thisown = 1\n";
|
||||
! << tab4 << "return val\n\n";
|
||||
}
|
||||
// Patch up the documentation entry
|
||||
if (doc_entry) {
|
||||
--- 229,236 ----
|
||||
*additional << tab4 << "val = " << class_name << "Ptr(apply("
|
||||
<< module << "." << name_construct(realname) << ",_args,_kwargs))\n"
|
||||
<< tab4 << "val.thisown = 1\n";
|
||||
! emitAddPragmas(*additional, realname, tab4);
|
||||
! *additional << tab4 << "return val\n\n";
|
||||
}
|
||||
// Patch up the documentation entry
|
||||
if (doc_entry) {
|
Reference in New Issue
Block a user