Correction for gcc

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2003-12-21 13:19:44 +00:00
parent 7c11dce5f2
commit 00cb0756b4

View File

@ -1022,7 +1022,7 @@ bool wxFileName::GetShortcutTarget(const wxString& shortcutPath, wxString& targe
hres = psl->QueryInterface( IID_IPersistFile, (LPVOID *) &ppf);
if (SUCCEEDED(hres))
{
WORD wsz[MAX_PATH];
WCHAR wsz[MAX_PATH];
MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, shortcutPath.mb_str(), -1, wsz,
MAX_PATH);