]> git.saurik.com Git - wxWidgets.git/commitdiff
WinCE correction.
authorWłodzimierz Skiba <abx@abx.art.pl>
Tue, 16 Nov 2004 13:54:33 +0000 (13:54 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Tue, 16 Nov 2004 13:54:33 +0000 (13:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/stdpaths.cpp

index d306af2131075b6d5cb8aae2efffcd62020d1bc0..27fa594c7e6e605686acda7652989f930cd5db71 100644 (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;
 }