From: Robin Dunn Date: Wed, 17 May 2006 04:20:10 +0000 (+0000) Subject: Use %rename("%(wxpy)s") X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/69555b5c861e666a038c5adfbb64178408f50e88 Use %rename("%(wxpy)s") git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/_defs.i b/wxPython/src/_defs.i index 2bb443abd0..2d5bad3926 100644 --- a/wxPython/src/_defs.i +++ b/wxPython/src/_defs.i @@ -31,6 +31,10 @@ %feature("nodefaultdtor"); #endif +// For all items that don't have a %rename already, give them a %rename that +// removes the leading 'wx' (except for wxEVT_* items.) +%rename("%(wxpy)s") ""; + // For now, just supress the warning about using Python keywords as parameter // names. Will need to come back later and correct these rather than just // hide them...