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:
Ryan Norton 2005-04-22 15:01:27 +00:00
parent d6f42b1bae
commit eb5b252d64

View File

@ -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;