X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d19a83a5ac67c97c208e28289bbf4adaee6b4134..5444f3a9445fe30633aef827154ed57656273a35:/wxPython/src/my_typemaps.i diff --git a/wxPython/src/my_typemaps.i b/wxPython/src/my_typemaps.i index 754704242b..b130f580be 100644 --- a/wxPython/src/my_typemaps.i +++ b/wxPython/src/my_typemaps.i @@ -268,8 +268,9 @@ //--------------------------------------------------------------------------- -%typemap(out) bool "$result = $1 ? Py_True : Py_False; Py_INCREF($result);" - +%typemap(out) bool { + $result = $1 ? Py_True : Py_False; Py_INCREF($result); +} //---------------------------------------------------------------------------