Added wxStandardPaths::MSWGetShellDir().

This function allows to get the location of Windows shell special folders not
covered by wxStandardPaths methods (yet), e.g. CSIDL_DESKTOPDIRECTORY.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-08-14 00:05:56 +00:00
parent 1886760277
commit 94aff795d4
3 changed files with 30 additions and 0 deletions

View File

@@ -321,6 +321,12 @@ void wxStandardPaths::DontIgnoreAppSubDir()
m_appDir.clear();
}
/* static */
wxString wxStandardPaths::MSWGetShellDir(int csidl)
{
return DoGetDirectory(csidl);
}
// ----------------------------------------------------------------------------
// public functions
// ----------------------------------------------------------------------------