X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/39fc096d5a40b85488a43226aa49c887ae86f45f..404914c6f61f8918a72d8553a389a614e4285d1a:/src/msw/wince/helpwce.cpp 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; }