git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42438
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
tempDir = wxFileName::GetTempDir();
wxString ext(image->GetImageBlock().GetExtension());
- wxString tempFilename(wxString::Format(wxT("%s/image%d.%s"), tempDir, sm_fileCounter, (const wxChar*) ext));
+ wxString tempFilename(wxString::Format(wxT("%s/image%d.%s"), (const wxChar*) tempDir, sm_fileCounter, (const wxChar*) ext));
image->GetImageBlock().Write(tempFilename);
m_imageLocations.Add(tempFilename);