-// 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(WIZARD_EX_HELPBUTTON) wxWIZARD_EX_HELPBUTTON;
%rename(WizardEvent) wxWizardEvent;