projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8adeb85
)
applied SF patch #752538 to implement wxGetOSDirectory() for Mac
author
Gilles Depeyrot
<gilles_depeyrot@mac.com>
Wed, 11 Jun 2003 18:17:56 +0000
(18:17 +0000)
committer
Gilles Depeyrot
<gilles_depeyrot@mac.com>
Wed, 11 Jun 2003 18:17:56 +0000
(18:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21047
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/common/filefn.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/common/filefn.cpp
b/src/common/filefn.cpp
index 4ff10b83b023ad9c9bc82898ba1775d403c36b9a..3e6489ad198d1fd87680ba15451fed1f1475b023 100644
(file)
--- 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);
wxChar buf[256];
GetWindowsDirectory(buf, 256);
return wxString(buf);
+#elif defined(__WXMAC__)
+ return wxMacFindFolder(kOnSystemDisk, 'macs', false);
#else
return wxEmptyString;
#endif
#else
return wxEmptyString;
#endif