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:
parent
7c11dce5f2
commit
00cb0756b4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user