Ticket #45 (closed defect)

Opened 8 years ago

Last modified 8 years ago

EVT_TREE_ITEM_EXPANDED:documentation disagrees with behavior

Reported by: anonymous Owned by: vadz
Priority: normal Milestone:
Component: wxGTK Version:
Keywords: Cc: vadz
Blocked By: Patch: no
Blocking:

Description

Bug#: 114
Product: .wxWindows
Version: 2.2.0
Platform: wxGTK
OS/Version: Linux - RedHat
Status: NEW
Resolution:
Severity: normal
Priority: P2
Component: docs
AssignedTo: ???
ReportedBy: br_9801@…
URL:
Summary: EVT_TREE_ITEM_EXPANDED: documentation disagrees with behavior

The documentation says:

EVT_TREE_ITEM_EXPANDED(id, func) Parent has been expanded.

This suggests that an event is triggered for each child
whose parent has been expanded.

In practice, however, only a single event is triggered,
corresponding to the item that is being expanded.

I prefer the actual behavior to the documented behavior,
and I hope the documentation is wrong.

Change History

Changed 8 years ago by vadz

fixed the docs, thanks

Note: See TracTickets for help on using tickets.