From: Otto W. <ott...@or...> - 2005-11-23 18:28:52
|
Carl Godkin wrote: > if (!HasFlag(wxTR_HIDE_ROOT) && (styles & wxTR_HIDE_ROOT)) > { > // if we will hide the root, make sure children are visible > m_anchor->SetHasPlus(); > m_anchor->Expand(); > } > > > True, the root item should always be expanded if hidden. I've added the above statements in the AddRoot function since this is IMO the better place. So far it seems to work in the TorMgr. O. Wyss -- Application guidelines: http://freshmeat.net/projects/wyoguide/ Cross-platform Editor: http://freshmeat.net/projects/wyoeditor/ Cross-platform Filemanager http://freshmeat.net/projects/wyofiler/ |