[wx-dev] tree control & drawing
Alan Shouls
alan at softpress.com
Tue Oct 3 05:05:46 PDT 2006
Hi Robert,
>We'd generally use wxBitmap or wxIcon for such an interface.
The reason that I used a wxImage is that the wxImage has methods for
scaling - and the whole thing drops out in a couple of lines of code.
Also wxImage 'seems' more high level - like a representation of a
graphic, rather than of a bitmap though if you load it up from a png
that is what it is.
I appreciate that the wx convention is wxBitmap so I will comply.
>I'd say virtual methods are more appropriate here, but keep in mind
>that the wxTreeCtrl under Windows is the native control and it
>probably cannot be custmoized like that.
At the moment I just have a Mac but I hope that this will change in
the next month or so.
Best regards
Alan Shouls
More information about the wx-dev
mailing list