The function already implemented in wxXmlResourceHandlerImpl. Just make it accessible from wxXmlResourceHandler.