From e20725256060c40d2f3d8f3cc943290903d171e8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Tue, 16 Nov 2004 13:54:33 +0000 Subject: [PATCH] WinCE correction. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/stdpaths.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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; } -- 2.45.2