Use %rename("%(wxpy)s")

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-05-17 04:20:10 +00:00
parent ddc00ed1ea
commit 69555b5c86

View File

@@ -31,6 +31,10 @@
%feature("nodefaultdtor"); %feature("nodefaultdtor");
#endif #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 // 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 // names. Will need to come back later and correct these rather than just
// hide them... // hide them...