Thanks Mark. I'll give it a try. James On Mar 24, 2016 5:09 PM, "Mark Dootson" <mark.doot...@znix.com> wrote:
> > Not anywhere I can test this at the moment but as I recall: > > open my $fh, '<', \$buffer; > > my $bitmap = Wx::Bitmap->new( > Wx::Image->new( $fh, wxBITMAP_TYPE_PNG) > ); > > > > On 24/03/2016 10:44, James Lynes wrote: > >> Hello All: >> >> It seems that Wx::Bitmap NewFromPNGData is not wrapped(didn't see any >> reference to it in bitmap.xs). >> >> wxWidgets defines it as: >> >> public: >> // Create a new wxBitmap from the PNG data in the given buffer >> static wxBitmap NewFromPNGData(const void* data, size_t size); >> >> What's involved in getting this wrapped? >> >> Thanks, >> James >> >> > >