Looking at the wxWindows docs, I see a function wxBitmapFromData defined for
wxPython, but it doesn't seem to exist. Is this an oversight or was it
removed/replaced?
Looking at the wxWindows docs, I see a function wxBitmapFromData defined
for
wxPython, but it doesn't seem to exist. Is this an oversight or was it
removed/replaced?
It was removed. I dont' remember exactly why but I do remember that it was
MSW only. Maybe it got changed in wxMSW so it didn't work any longer...
I'll fix the docs.
You can create a wxImage, use it's SetData method and then convert it to a
wxBitmap.
···
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters? http://wxPython.org Relax with wxPython!
That's what I've been doing, but I was hoping to eliminate that extra step
for performance reasons (in an application that sequentially processes a lot
of images).
···
On Thursday 15 November 2001 16:44, Robin Dunn wrote:
You can create a wxImage, use it's SetData method and then convert it to a
wxBitmap.