TreeCtrl TreeItemIcon enum

"Michael S. Muegel" <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <[email protected]>
I would like to change the values of TreeItemIcon from the hideous:

	public enum TreeItemIcon
	{
		wxTreeItemIcon_Normal,
		wxTreeItemIcon_Selected,
		wxTreeItemIcon_Expanded,
		wxTreeItemIcon_SelectedExpanded,
		wxTreeItemIcon_Max
	}

to:

	public enum TreeItemIcon
	{
		Normal,
		Selected,
		Expanded,
		SelectedExpanded,
		Max
	}

Of course the bigger question is whether all enums should have their common
prefix stripped. The above is the most extreme and unreadable case I have
found in wx.NET. Others like:

    public enum ItemKind
    {
        wxITEM_SEPARATOR = -1,
        wxITEM_NORMAL,
        wxITEM_CHECK,
        wxITEM_RADIO,
        wxITEM_MAX
    }

are still annoying to me as a .NET developer who could care less about what
wx.Widgets uses/used; but they are not as extreme as the TreeItemIcon
example. And my guess is the long wx.Widget names were used as much (or
more???) for documentation compatibility reasons in addition to code porting
simplification.

Anyway, changing TreeItemIcon is a must do IMHO. Anyone disagree?

Regards,
-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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.