diff --git a/src/msw/wince/helpwce.cpp b/src/msw/wince/helpwce.cpp index 0196bb6907..5b1383180e 100644 --- a/src/msw/wince/helpwce.cpp +++ b/src/msw/wince/helpwce.cpp @@ -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; }