-// A bunch of %rename directives generated by ./distrib/build_renamers.py
+// A bunch of %rename directives generated by BuildRenamers in config.py
// in order to remove the wx prefix from all global scope names.
-#ifndef SWIGXML
+#ifndef BUILDING_RENAMERS
%rename(ShapeRegion) wxShapeRegion;
+%rename(AttachmentPoint) wxAttachmentPoint;
%rename(PyShapeEvtHandler) wxPyShapeEvtHandler;
%rename(PyShape) wxPyShape;
%rename(PseudoMetaFile) wxPseudoMetaFile;