The problem with simple deleting VIEW_ITEM_DATA upon VIEW_ITEM removal was caused by the default copy constructors that copied pointers. Once a copy of an item was destroyed, the VIEW_ITEM_DATA has been destroyed, effectively invalidating m_viewPrivData for the other item. |
||
---|---|---|
.. | ||
view.h | ||
view_controls.h | ||
view_group.h | ||
view_item.h | ||
view_rtree.h | ||
wx_view_controls.h |