]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/filefn.h
more wxToolTip changes
[wxWidgets.git] / include / wx / filefn.h
index ae1bf310325e9217694f99e5b1df117331291b10..3c7836428893b9ab6e9d105aace7e121c823c08f 100644 (file)
@@ -104,8 +104,8 @@ WXDLLEXPORT char* wxExpandPath(char *dest, const char *path);
 // and make (if under the home tree) relative to home
 // [caller must copy-- volatile]
 WXDLLEXPORT char* wxContractPath(const wxString& filename,
-                                 const wxString& envname = "",
-                                 const wxString& user = "");
+                                 const wxString& envname = wxEmptyString,
+                                 const wxString& user = wxEmptyString);
 
 // Destructive removal of /./ and /../ stuff
 WXDLLEXPORT char* wxRealPath(char *path);
@@ -210,7 +210,11 @@ class WXDLLEXPORT wxPathList : public wxStringList
 {
 public:
     void AddEnvList(const wxString& envVariable);    // Adds all paths in environment variable
+
     void Add(const wxString& path);
+    // Avoid compiler warning
+    wxNode *Add(const char *s) { return wxStringList::Add(s); }
+
     wxString FindValidPath(const wxString& filename);   // Find the first full path
     // for which the file exists
     wxString FindAbsoluteValidPath(const wxString& filename);   // Find the first full path