From 2d3441d7e5e3d23fd804212bebccb1532f415430 Mon Sep 17 00:00:00 2001 From: Gilles Depeyrot Date: Wed, 11 Jun 2003 18:17:56 +0000 Subject: [PATCH] applied SF patch #752538 to implement wxGetOSDirectory() for Mac git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/filefn.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index 4ff10b83b0..3e6489ad19 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -1633,6 +1633,8 @@ wxString wxGetOSDirectory() wxChar buf[256]; GetWindowsDirectory(buf, 256); return wxString(buf); +#elif defined(__WXMAC__) + return wxMacFindFolder(kOnSystemDisk, 'macs', false); #else return wxEmptyString; #endif -- 2.47.2