src/gfxcore.cc: Use wxString::Format() instead of sprintf().