From 263a72f381ff6625de508cedd8e8ee6e02947c06 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sun, 13 Jan 2002 15:58:16 +0000 Subject: [PATCH] switched to proper const scheme for findfolder on mac git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/filename.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/filename.cpp b/src/common/filename.cpp index 5c2f9b007c..c59c401843 100644 --- a/src/common/filename.cpp +++ b/src/common/filename.cpp @@ -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() )