WinCE correction.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-11-16 13:54:33 +00:00
parent 4dca492943
commit e207252560

View File

@@ -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;
}