From 53a410d1b242fce6ef061c7e6d24f54f8e38664d Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sat, 10 Dec 2005 13:18:18 +0000 Subject: [PATCH] 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 --- src/common/filename.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/filename.cpp b/src/common/filename.cpp index d1766a8179..451effbc3c 100644 --- a/src/common/filename.cpp +++ b/src/common/filename.cpp @@ -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 -- 2.45.2