} // end of wxDataFormat::GetId()
void wxDataFormat::SetId (
- const wxChar* zId
+ const wxString& zId
)
{
m_uFormat = ::WinAddAtom( ::WinQuerySystemAtomTable()
- ,(PSZ)zId
+ ,zId.char_str()
);
} // end of wxDataFormat::SetId
m_bitmap = wxBitmap(vImage);
#endif //wxUSE_STREAMS
- return m_bitmap.Ok();
+ return m_bitmap.IsOk();
}
void wxBitmapDataObject::DoConvertToPng()
{
- if (!m_bitmap.Ok())
+ if (!m_bitmap.IsOk())
return;
#if wxUSE_STREAMS