// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-# pragma implementation "wxexthlp.h"
-#endif
-
#include "wx/wxprec.h"
#ifdef __BORLANDC__
{
wxString newfile;
newfile << WXEXTHELP_SEPARATOR << wxGetLocale()->GetName();
- if(wxPathExists(newfile))
+ if(wxDirExists(newfile))
file = newfile;
else
{
const wxChar *cptr = wxGetLocale()->GetName().c_str();
while(*cptr && *cptr != wxT('_'))
newfile << *(cptr++);
- if(wxPathExists(newfile))
+ if(wxDirExists(newfile))
file = newfile;
}
}
#endif
- if(! wxPathExists(file))
+ if(! wxDirExists(file))
return false;
mapFile << file << WXEXTHELP_SEPARATOR << WXEXTHELP_MAPFILE;