]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/helpext.cpp
Add comments explaining the workaround for mingw 3.2.3
[wxWidgets.git] / src / generic / helpext.cpp
index 840ae94fa0492c76db07c1b2e60a0acf94787681..49dae623f0f0c7e4d0c752f1dc7ffad14fa89b2e 100644 (file)
@@ -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;