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:
@@ -191,6 +191,13 @@ MAKE_INT_ARRAY_TYPEMAPS(styles, styles_field)
|
|||||||
$1 = wxColour_typecheck($input);
|
$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);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user