diff --git a/wxPython/src/my_typemaps.i b/wxPython/src/my_typemaps.i index 958ac1eac5..8c62499973 100644 --- a/wxPython/src/my_typemaps.i +++ b/wxPython/src/my_typemaps.i @@ -172,6 +172,9 @@ MAKE_INT_ARRAY_TYPEMAPS(styles, styles_field) $1 = wxPySimple_typecheck($input, wxT("wxRect"), 4); } +%apply wxRect& { wxRect* }; + + %typemap(in) wxPoint2D& (wxPoint2D temp) { $1 = &temp;