Fix Non-ce MSW unicode builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
d6f42b1bae
commit
eb5b252d64
@ -597,12 +597,17 @@ bool wxLaunchDefaultBrowser(const wxString& url)
|
|||||||
LPShellExecute lpShellExecute =
|
LPShellExecute lpShellExecute =
|
||||||
(LPShellExecute) ::GetProcAddress(hShellDll,
|
(LPShellExecute) ::GetProcAddress(hShellDll,
|
||||||
wxString::Format(wxT("ShellExecute%s"),
|
wxString::Format(wxT("ShellExecute%s"),
|
||||||
|
|
||||||
#ifdef __WXUNICODE__
|
#ifdef __WXUNICODE__
|
||||||
wxT("W")
|
wxT("W")
|
||||||
#else
|
#else
|
||||||
wxT("A")
|
wxT("A")
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef __WXWINCE__
|
||||||
)
|
)
|
||||||
|
#else
|
||||||
|
).mb_str(wxConvLocal)
|
||||||
|
#endif
|
||||||
);
|
);
|
||||||
if(lpShellExecute == NULL)
|
if(lpShellExecute == NULL)
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user