]> 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 6a4eff0b33a32f6917fec10d582371ab72431e65..1510e939a72c3c6fd3f1c00786ceca49c34cdfae 100644 (file)
@@ -211,15 +211,14 @@ bool wxConfigBase::Write(const wxString& key, bool value)
 }
 
 wxString wxConfigBase::ExpandEnvVars(const wxString& str) const
-    {
-        wxString tmp; // Required for BC++
-        if (IsExpandingEnvVars())
-            tmp = wxExpandEnvVars(str);
-        else
-            tmp = str;
-        return tmp;
-    }
-
+{
+    wxString tmp; // Required for BC++
+    if (IsExpandingEnvVars())
+        tmp = wxExpandEnvVars(str);
+    else
+        tmp = str;
+    return tmp;
+}
 
 // ----------------------------------------------------------------------------
 // wxConfigPathChanger
@@ -410,5 +409,3 @@ void wxSplitPath(wxArrayString& aParts, const char *sz)
     pc++;
   }
 }
-
-