add reasonable default TEMP for __WXMAC__ when running under __DARWIN__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
8c8f6a4b1d
commit
53a410d1b2
@ -665,6 +665,8 @@ wxFileName::CreateTempFileName(const wxString& prefix, wxFile *fileTemp)
|
||||
// default
|
||||
#if defined(__DOS__) || defined(__OS2__)
|
||||
dir = _T(".");
|
||||
#elif defined(__WXMAC__)
|
||||
dir = wxMacFindFolder( (short) kOnSystemDisk, kTemporaryFolderType, kCreateFolder ) ;
|
||||
#else
|
||||
dir = _T("/tmp");
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user