|There's more than one way to do things|
Re: wxPerl: is BitmapFromImage implemented? (no;sleep;docs)by Anonymous Monk
|on Apr 29, 2013 at 08:26 UTC||Need Help??|
Is BitmapFromImage implemented in wxPerl?
No, BitmapFromImage doesn't exist, so it can't possibly be implement, there is no such thing as http://docs.wxwidgets.org/trunk/search.php?query=wxBitmapFromImage
What am I missing?
I guess sleep
Go to http://docs.wxwidgets.org/trunk/classwx_image.html and search for "bitmap" and you'll have your answer in about 5 seconds
Or go to http://docs.wxwidgets.org/stable/wx_wxbitmap.html and search for "wxImage"
Another avenue [ddg://site:perlmonks.org Wx::Image Wx::Bitmap ] , [google://site:perlmonks.org Wx::Image Wx::StaticBitmapBitmap], ... site:perlmonks.org Wx::Image Wx::StaticBitmapBitmap, site:perlmonks.org Wx::Image Wx::StaticBitmapBitmap ...
And another avenue is wxperl_usage / wxperl-usage / wxPerl::Usage / Class Method Browser , available methods, method invocation syntax, link to docs , type "wxbitmap::new" and you'll see
Like my wxWidgets / wxPerl / wxGlade tutorial,http://www.wxperl.it/p/wxperl-primer.html explain, wxPerl will recognize that you're giving ->new a Wx::Image so it isn't necessary to call newImage explicitly