]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove wxColour* typemap, it causes more problems than it solves.
authorRobin Dunn <robin@alldunn.com>
Wed, 9 Aug 2006 21:38:54 +0000 (21:38 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 9 Aug 2006 21:38:54 +0000 (21:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/my_typemaps.i

index 788da5f7b76d1a9903f3fd3ff9224d90fbd970c3..08a2c9c09b505e5b081b8370d455f183658a04e7 100644 (file)
@@ -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