diff --git a/src/common/utilscmn.cpp b/src/common/utilscmn.cpp index b98e0b2d5c..8c42075b45 100644 --- a/src/common/utilscmn.cpp +++ b/src/common/utilscmn.cpp @@ -597,13 +597,18 @@ bool wxLaunchDefaultBrowser(const wxString& url) LPShellExecute lpShellExecute = (LPShellExecute) ::GetProcAddress(hShellDll, wxString::Format(wxT("ShellExecute%s"), + #ifdef __WXUNICODE__ wxT("W") #else wxT("A") #endif +#ifdef __WXWINCE__ ) - ); +#else + ).mb_str(wxConvLocal) +#endif + ); if(lpShellExecute == NULL) return false;