Fixes argument type for wxString::Format