Deprecate wxPathExists, make wxDirExists used everywhere, minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -259,7 +259,7 @@ bool wxExtHelpController::LoadFile(const wxString& ifile)
|
||||
{
|
||||
wxString newfile;
|
||||
newfile << WXEXTHELP_SEPARATOR << wxGetLocale()->GetName();
|
||||
if(wxPathExists(newfile))
|
||||
if(wxDirExists(newfile))
|
||||
file = newfile;
|
||||
else
|
||||
{
|
||||
@@ -267,13 +267,13 @@ bool wxExtHelpController::LoadFile(const wxString& ifile)
|
||||
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;
|
||||
|
Reference in New Issue
Block a user