wxString wxDataFormat::GetId() const
{
- char zBuf[256];
+ wxChar zBuf[256];
wxString sRet;
::WinQueryAtomName( ::WinQuerySystemAtomTable()
,m_uFormat
- ,zBuf
+ ,(PSZ)zBuf
,256
);
sRet = zBuf;
)
{
m_uFormat = ::WinAddAtom( ::WinQuerySystemAtomTable()
- ,zId
+ ,(PSZ)zId
);
} // end of wxDataFormat::SetId
, char* pzBuffer
)
{
- ULONG ulSize;
+ ULONG ulSize = 0;
switch (rFormat.GetType())
{
{
/* TODO */
- wxString sFile( (const char *)pBuf); /* char, not wxChar */
+ wxString sFile((const wxChar *)pBuf); /* char, not wxChar */
AddFile(sFile);