]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/wince/helpwce.cpp
Application clipping region can be set to null without affecting
[wxWidgets.git] / src / msw / wince / helpwce.cpp
index 0196bb69075308c91848e411e549f3644855ad5a..28958bff85505f9fdd4b9f24edb01f1410727b79 100644 (file)
@@ -9,10 +9,6 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "helpwce.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -103,6 +99,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;
 }