wxString wxDataFormat::GetId() const
{
- wxCHECK_MSG( !IsStandard(), wxEmptyString ,
+ wxCHECK_MSG( !IsStandard(), wxEmptyString,
wxT("name of predefined format cannot be retrieved") );
return m_id;
// ownership is transferred to the bitmap
m_pictCreated = false;
- Rect frame = (**picHandle).picFrame;
+ Rect frame;
+ wxMacGetPictureBounds( picHandle, &frame );
wxMetafile mf;
mf.SetHMETAFILE( (WXHMETAFILE)m_pictHandle );