From: Otto W. <ott...@or...> - 2005-06-29 17:46:33
|
I've thought again about your change and think the following is the right solution if ((parent->HasChildren() && parent->IsExpanded()) || ((parent == (wxTreeListItem*)GetRootItem().m_pItem) && HasFlag(wxTR_HIDE_ROOT))) { I've just made a new file release (see the component list) so you might use this instead of CVS. O. Wyss -- Development of frame buffer drivers: http://linux-fbdev.sf.net Sample code snippets for wxWidgets: http://wxcode.sf.net How to build well-designed applications: http://wyoguide.sf.net Desktop with a consistent look and feel: http://wyodesktop.sf.net |