]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/wince/helpwce.cpp
fixed appending menu items for a (popup) menu with a title broken by last change...
[wxWidgets.git] / src / msw / wince / helpwce.cpp
index 0196bb69075308c91848e411e549f3644855ad5a..5b1383180e1c9c962a0078d6ff959bdbeaf2538e 100644 (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;
 }