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,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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user