]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filename.cpp
Choose a legal default font on DC creation.
[wxWidgets.git] / src / common / filename.cpp
index d1766a8179453f8f503c5c886f29d6c6a2b12785..451effbc3c96c5dc52de539211f32f979eaeb1b0 100644 (file)
@@ -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