Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

wxMac bitmap problem

0 views
Skip to first unread message

Steve

unread,
Jun 30, 2009, 5:38:18 PM6/30/09
to
Hi,

I am using wxMac 2.8.8 I have a wxBitmap that is fine if I display it
(DrawBitmap) but if I use SaveFile it creates a blank (black) image. I also
used ConvertToImage and then saved which also craetes a blank image, I used
GetData (from converted image in wxImage) and the data is all 0s.

The bitmap is created by Selecting it into a memoryDC and Drawing on to it.
Just clearing it to white and drawing text into it. Again it displays just
fine so it seems like it is created correctly but it won't save

any ideas?

Thanks

Steve


0 new messages