]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/config.cpp
moved wxUniv-specific GUI stuff from wxBase to wxCore; this fixes wxUniv DLL build
[wxWidgets.git] / src / common / config.cpp
index 24c66d9e901e00ea4570d6c5c6cf3e7c1644be41..f9e071fee32826d2f19cf42981fa9a853ba673b7 100644 (file)
@@ -335,7 +335,11 @@ wxString wxExpandEnvVars(const wxString& str)
 
           wxString strVarName(str.c_str() + n + 1, m - n - 1);
 
+#ifdef __WXWINCE__
+          const wxChar *pszValue = NULL;
+#else
           const wxChar *pszValue = wxGetenv(strVarName);
+#endif
           if ( pszValue != NULL ) {
             strResult += pszValue;
           }