Add typemaps for wxColour*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
8e1222c7cd
commit
424752bc36
1 changed files with 7 additions and 0 deletions
|
|
@ -191,6 +191,13 @@ MAKE_INT_ARRAY_TYPEMAPS(styles, styles_field)
|
|||
$1 = wxColour_typecheck($input);
|
||||
}
|
||||
|
||||
%typemap(in) wxColour* (wxColour temp) {
|
||||
$1 = &temp;
|
||||
if ( ! wxColour_helper($input, &$1)) SWIG_fail;
|
||||
}
|
||||
%typemap(typecheck, precedence=SWIG_TYPECHECK_POINTER) wxColour* {
|
||||
$1 = wxColour_typecheck($input);
|
||||
}
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue