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
This commit is contained in:
@@ -1633,6 +1633,8 @@ wxString wxGetOSDirectory()
|
|||||||
wxChar buf[256];
|
wxChar buf[256];
|
||||||
GetWindowsDirectory(buf, 256);
|
GetWindowsDirectory(buf, 256);
|
||||||
return wxString(buf);
|
return wxString(buf);
|
||||||
|
#elif defined(__WXMAC__)
|
||||||
|
return wxMacFindFolder(kOnSystemDisk, 'macs', false);
|
||||||
#else
|
#else
|
||||||
return wxEmptyString;
|
return wxEmptyString;
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user