return FALSE;
}
- m_bitmap = vImage.ConvertToBitmap();
+ m_bitmap = wxBitmap(vImage);
#endif //wxUSE_STREAMS
return m_bitmap.Ok();
return;
#if wxUSE_STREAMS
- wxImage vImage(m_bitmap);
+ wxImage vImage = m_bitmap.ConvertToImage();
wxPNGHandler vHandler;
wxCountingOutputStream vCount;