move the nodefault option into _defs.i too.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2006-01-24 02:24:25 +00:00
parent c72b1ad70a
commit 9c605285c8
2 changed files with 11 additions and 1 deletions

View File

@ -874,7 +874,6 @@ swig_cmd = SWIG
swig_force = force
swig_args = ['-c++',
'-Wall',
'-nodefault',
'-python',
'-new_repr',
'-modern',

View File

@ -19,6 +19,17 @@
// Turn on kwargs by default
%feature("kwargs", "1");
// Don't generate separate wrappers for each default args combination
%feature("compactdefaultargs");
// Don't generate default ctors or dtors if the C++ doesn't have them
%feature("nodefault");
// This is the SWIG 1.3.28 way to do the above...
// // Don't generate default ctors or dtors if the C++ doesn't have them
// %feature("nodefaultctor");
// %feature("nodefaultdtor");
//---------------------------------------------------------------------------
// Tell SWIG to wrap all the wrappers with our thread protection by default