-// 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(HTML_ALIGN_LEFT) wxHTML_ALIGN_LEFT;
%rename(HTML_ALIGN_CENTER) wxHTML_ALIGN_CENTER;