I don't think you need the StringType in this line, wxStringVisitor::PAGESOURCE