Unicode fixes for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user