wxImageList::Draw virtual only on some platforms

Ondra Holub ondra.holub at post.cz
Fri Oct 5 06:50:43 PDT 2007


Hello.

I've found, that method wxImageList::Draw is virtual only when
wxHAS_NATIVE_IMAGELIST is not #defined (e.g. for other platforms than
__WXMSW__ and __WXMAC_CARBON__). Is it intented?

For me would be very usefull existence of virtual method Draw (as well
as methods GetBitmap and GetIcon) to be able to implement 'virtual'
supplier of icons for wxListCtrl, which generates simple icons on the
fly from external data which may change often.

Thanks a lot.
Ondrej







More information about the wx-users mailing list