Fix wxString::Format() assert with wx-3.0.