Added a typecheck typmap for wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -86,6 +86,10 @@
|
|||||||
delete sptr;
|
delete sptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
%typemap(typecheck, precedence=SWIG_TYPECHECK_POINTER) wxString& {
|
||||||
|
$1 = PyString_Check($input) || PyUnicode_Check($input);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user