]> git.saurik.com Git - wxWidgets.git/commitdiff
WinCE fix
authorJulian Smart <julian@anthemion.co.uk>
Fri, 13 May 2005 12:07:08 +0000 (12:07 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 13 May 2005 12:07:08 +0000 (12:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/utilscmn.cpp

index 2468ed2c00163c3a8c9f00d3b68fb182b69e308c..5fcce3aa93587403bef8a43c3b4180ad725f68c4 100644 (file)
@@ -621,11 +621,14 @@ bool wxLaunchDefaultBrowser(const wxString& url)
         // Unload Shell32.dll
         ::FreeLibrary(hShellDll);
 
+        // HINSTANCE_ERROR not defined on WinCE
+#ifndef __WXWINCE__
         // Hack for Firefox (returns file not found for some reason)
         // from Angelo Mandato's wxHyperlinksCtrl
         // HINSTANCE_ERROR == 32
         if (nResult <= HINSTANCE_ERROR && nResult != SE_ERR_FNF)
             return false;
+#endif
 
 #ifdef __WXDEBUG__
         // Log something if SE_ERR_FNF happens