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:
@@ -621,7 +621,8 @@ wxFileName::CreateTempFileName(const wxString& prefix, wxFile *fileTemp)
|
|||||||
if (dir.empty())
|
if (dir.empty())
|
||||||
{
|
{
|
||||||
// FIXME. Create \temp dir?
|
// FIXME. Create \temp dir?
|
||||||
dir = wxT("\\");
|
if (DirExists(wxT("\\temp")))
|
||||||
|
dir = wxT("\\temp");
|
||||||
}
|
}
|
||||||
path = dir + wxT("\\") + name;
|
path = dir + wxT("\\") + name;
|
||||||
int i = 1;
|
int i = 1;
|
||||||
|
Reference in New Issue
Block a user