wxTreeCtrl or wxTreeListCtrl with "owner draw" items
Volker Bartheld
dr_versaeg at freenet.de
Wed May 2 08:19:19 PDT 2007
Hi!
Is it possible within a reasonable time frame to convert the wxTreeCtrl or
wxTreeListCtrl range of classes so that they don't show ordinary strings
plus an icon as tree items but wxControl or derived classes?
wxTreeItemId AppendItem(const wxTreeItemId& parent, const wxString& text,
int image = -1, int selImage = -1, wxTreeItemData* data = NULL)
could have a signature like
wxTreeItemId AppendItem(const wxTreeItemId& parent, wxWindow& item,
wxTreeItemData* data = NULL)
etc.
The background is, that a request has been made for a GUI to configure
firewall entries in a tree-hierarchical structure with buttons, checkboxes,
dropdown lists, ... and I'm currently evaluating if this is a wise thing to
do with wxWidgets.
Thanks!
Volker
--
mailto: V B A R T H E L D at G M X dot D E
More information about the wx-users
mailing list