]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filefn.cpp
Revert inclusion of wx/dateevt.h for now, as it breaks linkage
[wxWidgets.git] / src / common / filefn.cpp
index dabc946ebf50984b0361dd9cf2c7b6f0147a15ed..d1d0efe243e8bb4e44a60de7fc682af365693a04 100644 (file)
@@ -242,8 +242,7 @@ bool wxPathList::Member (const wxString& path)
 
 wxString wxPathList::FindValidPath (const wxString& file)
 {
-  if (wxFileExists (wxExpandPath(wxFileFunctionsBuffer, file)))
-    return wxString(wxFileFunctionsBuffer);
+  wxExpandPath(wxFileFunctionsBuffer, file);
 
   wxChar buf[_MAXPATHLEN];
   wxStrcpy(buf, wxFileFunctionsBuffer);