Use temp directory and don't prepend two backslashes, on WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
3f3af7e7f8
commit
dd28209328
@ -621,7 +621,8 @@ wxFileName::CreateTempFileName(const wxString& prefix, wxFile *fileTemp)
|
||||
if (dir.empty())
|
||||
{
|
||||
// FIXME. Create \temp dir?
|
||||
dir = wxT("\\");
|
||||
if (DirExists(wxT("\\temp")))
|
||||
dir = wxT("\\temp");
|
||||
}
|
||||
path = dir + wxT("\\") + name;
|
||||
int i = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user