From: Robin Dunn Date: Wed, 9 Aug 2006 21:38:54 +0000 (+0000) Subject: Remove wxColour* typemap, it causes more problems than it solves. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/955464837e6f85f78baca1b519b38142a98fb317 Remove wxColour* typemap, it causes more problems than it solves. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/my_typemaps.i b/wxPython/src/my_typemaps.i index 788da5f7b7..08a2c9c09b 100644 --- a/wxPython/src/my_typemaps.i +++ b/wxPython/src/my_typemaps.i @@ -191,15 +191,6 @@ 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); -} - - //--------------------------------------------------------------------------- // Typemap for wxArrayString from Python sequence objects