From f1828885d30e2e6d824d3451c70bc0c7d61435a0 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 2 Jun 2007 23:46:09 +0000 Subject: [PATCH] wxRect* typemap git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/my_typemaps.i | 3 +++ 1 file changed, 3 insertions(+) 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;