// Contract w.r.t environment (</usr/openwin/lib, OPENWHOME> -> ${OPENWINHOME}/lib)
// and make (if under the home tree) relative to home
// [caller must copy-- volatile]
-WXDLLEXPORT char* wxContractPath (const wxString& filename,
- const wxString& envname = wxEmptyString, const wxString& user = wxEmptyString);
+WXDLLEXPORT char* wxContractPath(const wxString& filename,
+ const wxString& envname = "",
+ const wxString& user = "");
// Destructive removal of /./ and /../ stuff
WXDLLEXPORT char* wxRealPath(char *path);
{
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