RE: TreeCtrl TreeItemIcon enum
"Michael S. Muegel" <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.wxnet |
|---|---|
| Message-ID | <[email protected]> |
> > Anyway, changing TreeItemIcon is a must do IMHO. Anyone disagree? > > I would agree with putting both in, at the cost of a a fair > bit of extract code, but not changing the current definitions. Then I'll leave things as they are. I think having both would be more confusing. Better to be ugly than confusing. Note that since TreeItemIcon is only used when creating your tree and using SetItemImage/GetItemImage, I doubt any designer/XRC/WXG tool would make use of it. One last word (you expected me to give up so easily ;-): since the SetItemImage/GetItemImage accept the enum proper (vs. the many cases in wx.NET where an int is accepted and there are enum definitions which can be used) it is very much self documenting. -Mike -- Michael S. Muegel Dallas, TX ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click