WinCE fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
7e5fed9cce
commit
18ac2afbc6
@ -621,11 +621,14 @@ bool wxLaunchDefaultBrowser(const wxString& url)
|
|||||||
// Unload Shell32.dll
|
// Unload Shell32.dll
|
||||||
::FreeLibrary(hShellDll);
|
::FreeLibrary(hShellDll);
|
||||||
|
|
||||||
|
// HINSTANCE_ERROR not defined on WinCE
|
||||||
|
#ifndef __WXWINCE__
|
||||||
// Hack for Firefox (returns file not found for some reason)
|
// Hack for Firefox (returns file not found for some reason)
|
||||||
// from Angelo Mandato's wxHyperlinksCtrl
|
// from Angelo Mandato's wxHyperlinksCtrl
|
||||||
// HINSTANCE_ERROR == 32
|
// HINSTANCE_ERROR == 32
|
||||||
if (nResult <= HINSTANCE_ERROR && nResult != SE_ERR_FNF)
|
if (nResult <= HINSTANCE_ERROR && nResult != SE_ERR_FNF)
|
||||||
return false;
|
return false;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __WXDEBUG__
|
#ifdef __WXDEBUG__
|
||||||
// Log something if SE_ERR_FNF happens
|
// Log something if SE_ERR_FNF happens
|
||||||
|
Loading…
Reference in New Issue
Block a user