fix some wx 2.9 errors:
- "call of overloaded 'wxString(wxFormat&)' is ambiguous"
- pure functions