/////////////////////////////////////////////////////////////////////////////
-// Name: helpext.cpp
+// Name: src/generic/helpext.cpp
// Purpose: an external help controller for wxWidgets
// Author: Karsten Ballueder
// Modified by:
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-# pragma implementation "wxexthlp.h"
-#endif
-
#include "wx/wxprec.h"
#ifdef __BORLANDC__
}
return true;
-#elif defined(__WXPM__)
+#elif defined(__OS2__)
wxString url;
url << m_MapFile << '\\' << relativeURL.BeforeFirst('#');
{
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;