]> git.saurik.com Git - wxWidgets.git/blame - wxPython/SWIG/pycpp.cxx.patch
Bitmap and menu updates
[wxWidgets.git] / wxPython / SWIG / pycpp.cxx.patch
CommitLineData
0220cbc1
RD
1*** Modules/pycpp.cxx.orig Fri Oct 12 16:37:36 2001
2--- Modules/pycpp.cxx Fri Oct 12 16:38:20 2001
0122b7e3 3***************
0220cbc1
RD
4*** 228,235 ****
5 *additional << "def " << realname << "(*_args,**_kwargs):\n";
0122b7e3
RD
6 *additional << tab4 << "val = " << class_name << "Ptr(apply("
7 << module << "." << name_construct(realname) << ",_args,_kwargs))\n"
0220cbc1 8! << tab4 << "val.thisown = 1\n"
0122b7e3
RD
9! << tab4 << "return val\n\n";
10 }
11 // Patch up the documentation entry
12 if (doc_entry) {
0220cbc1
RD
13--- 228,236 ----
14 *additional << "def " << realname << "(*_args,**_kwargs):\n";
0122b7e3
RD
15 *additional << tab4 << "val = " << class_name << "Ptr(apply("
16 << module << "." << name_construct(realname) << ",_args,_kwargs))\n"
0220cbc1 17! << tab4 << "val.thisown = 1\n";
0122b7e3
RD
18! emitAddPragmas(*additional, realname, tab4);
19! *additional << tab4 << "return val\n\n";
20 }
21 // Patch up the documentation entry
22 if (doc_entry) {