]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/config.cpp
Added convenience form of wxEvtHandler::Connect, only one id; changed
[wxWidgets.git] / src / common / config.cpp
index 5aac22351b3411559950e727a24669155d5525f9..1510e939a72c3c6fd3f1c00786ceca49c34cdfae 100644 (file)
@@ -210,6 +210,15 @@ bool wxConfigBase::Write(const wxString& key, bool value)
     return Write(key, l);
 }
 
+wxString wxConfigBase::ExpandEnvVars(const wxString& str) const
+{
+    wxString tmp; // Required for BC++
+    if (IsExpandingEnvVars())
+        tmp = wxExpandEnvVars(str);
+    else
+        tmp = str;
+    return tmp;
+}
 
 // ----------------------------------------------------------------------------
 // wxConfigPathChanger
@@ -400,5 +409,3 @@ void wxSplitPath(wxArrayString& aParts, const char *sz)
     pc++;
   }
 }
-
-