]> git.saurik.com Git - wxWidgets.git/commitdiff
switched to proper const scheme for findfolder on mac
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 13 Jan 2002 15:58:16 +0000 (15:58 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 13 Jan 2002 15:58:16 +0000 (15:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/filename.cpp

index 5c2f9b007c215bf932e347a4b0ae148284138c41..c59c401843eed31f2ff8db83e4bd590d4cfaeec5 100644 (file)
@@ -542,7 +542,7 @@ wxFileName::CreateTempFileName(const wxString& prefix, wxFile *fileTemp)
     if ( dir.empty() )
     {
 #if defined(__WXMAC__) && !defined(__DARWIN__)
-        dir = wxMacFindFolder(  (short) kOnSystemDisk, pTemporaryFolder, kCreateFolder ) ;
+        dir = wxMacFindFolder(  (short) kOnSystemDisk, kTemporaryFolderType, kCreateFolder ) ;
 #else // !Mac
         dir = wxGetenv(_T("TMP"));
         if ( dir.empty() )