X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cd0c48001ca3ac0e1f142508fb0f5831a23531be..b9a59c919c8f76d8e5187258ce68ab3034316872:/src/msw/stdpaths.cpp diff --git a/src/msw/stdpaths.cpp b/src/msw/stdpaths.cpp index d306af2131..27fa594c7e 100644 --- a/src/msw/stdpaths.cpp +++ b/src/msw/stdpaths.cpp @@ -268,10 +268,16 @@ wxString wxStandardPathsWin16::GetConfigDir() const // this is for compatibility with earlier wxFileConfig versions // which used the Windows directory for the global files wxString dir; +#ifndef __WXWINCE__ if ( !::GetWindowsDirectory(wxStringBuffer(dir, MAX_PATH), MAX_PATH) ) { wxLogLastError(_T("GetWindowsDirectory")); } +#else + // TODO: + // eVC4 - use CSIDL_WINDOWS + // eVC3 - probably not possible through API +#endif return dir; }