Look for help file in Windows if not found elsewhere

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2005-04-13 18:00:08 +00:00
parent 1fef34b9ee
commit 45dbd8337e

View File

@ -103,6 +103,10 @@ wxString wxWinceHelpController::GetValidFilename(const wxString& file) const
fullName = path + name + wxT(".htm");
else
fullName = path + wxT("\\") + name + wxT(".htm");
if (!wxFileExists(fullName))
fullName = wxT("\\Windows\\") + name + wxT(".htm");
return fullName;
}