[ wxwindows-Bugs-1637760 ] wxTreeCtrl::GetNextVisible() assert
SourceForge.net
noreply at sourceforge.net
Wed Jan 17 06:22:39 PST 2007
Bugs item #1637760, was opened at 2007-01-17 16:22
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1637760&group_id=9863
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build -- windows
Group: Must fix
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: rubi13133 (rubi13133)
Assigned to: Nobody/Anonymous (nobody)
Summary: wxTreeCtrl::GetNextVisible() assert
Initial Comment:
by it's behaviour, GetNextVisible() asserts when a non-visible item is passed to it. It does its check using IsVisible that Sends TVM_GETITEMRECT to see if an item is visible before calling TreeView_GetNextVisible().
if the item is not visible it asserts.
THAT's a BUG. because: TVM_GETITEMRECT returns false when an item is even partialy visible, and TreeView_GetNextVisible() wont fail on such item.
Why is it important? because when customizing the tree GetNextVisible is important, I had to go around and use TreeView_GetNextVisible() myself, and that's not wxWidgets.
Why is the IsVisible assert so important anyway?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1637760&group_id=9863
More information about the wx-dev
mailing list