X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/322d45dd738f8fbbc6cb17379a28c308c6e3bd72..28b2ac5b1a9217ec44f9a8c11950366c670ccc02:/src/os2/dataobj.cpp diff --git a/src/os2/dataobj.cpp b/src/os2/dataobj.cpp index 880095708b..e0941f6268 100644 --- a/src/os2/dataobj.cpp +++ b/src/os2/dataobj.cpp @@ -47,12 +47,12 @@ wxString wxDataFormat::GetId() const { - char zBuf[256]; + wxChar zBuf[256]; wxString sRet; ::WinQueryAtomName( ::WinQuerySystemAtomTable() ,m_uFormat - ,zBuf + ,(PSZ)zBuf ,256 ); sRet = zBuf; @@ -64,7 +64,7 @@ void wxDataFormat::SetId ( ) { m_uFormat = ::WinAddAtom( ::WinQuerySystemAtomTable() - ,zId + ,(PSZ)zId ); } // end of wxDataFormat::SetId @@ -261,7 +261,7 @@ bool wxFileDataObject::SetData( { /* TODO */ - wxString sFile( (const char *)pBuf); /* char, not wxChar */ + wxString sFile((const wxChar *)pBuf); /* char, not wxChar */ AddFile(sFile);