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:
parent
1fef34b9ee
commit
45dbd8337e
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user