From 69555b5c861e666a038c5adfbb64178408f50e88 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 17 May 2006 04:20:10 +0000 Subject: [PATCH] Use %rename("%(wxpy)s") git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_defs.i | 4 ++++ 1 file changed, 4 insertions(+) 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... -- 2.45.2