dispatchContextMenu() stores the cursor position before displaying a menu, so the tools use the original cursor position when processing events (instead of the mouse position pointing to a menu entry). Later, the previous position has to be restored, but if in the meantime the tool was cancelled - previous settings were restored to a wrong tool. |
||
---|---|---|
.. | ||
view.h | ||
view_controls.h | ||
view_group.h | ||
view_item.h | ||
view_rtree.h | ||
wx_view_controls.h |