#else
PicHandle pict = (PicHandle) GetHMETAFILE();
wxMacPortSetter helper( dc );
- DrawPicture( pict , &(**pict).picFrame );
+ Rect picFrame ;
+ DrawPicture( pict , wxMacGetPictureBounds( pict , &picFrame ) );
#endif
}
if ( Ok() )
{
PicHandle pict = (PicHandle) GetHMETAFILE() ;
- Rect &r = (**pict).picFrame ;
+ Rect r ;
+ wxMacGetPictureBounds( pict , &r ) ;
size.x = r.right - r.left ;
size.y = r.bottom - r.top ;
}