wxWidgets/include
Vadim Zeitlin bb00501e77 Fix mouse event handling while dragging in wxGrid
Ignore all the mouse events other than "left up" while dragging to avoid
releasing the mouse and ending the dragging operation too soon.

This required non-trivial refactoring of the code which hopefully should
also make it slightly more clear by centralizing high level logic in
ProcessGridCellMouseEvent() itself and calling various helper functions
from it instead of spreading this logic over the entire call tree.

The code still remains pretty confusing and rewriting it to use
wxMouseEventsManager (which would need to be generalized first to become
a template class using arbitrary item type instead of just "int", as
now) would undoubtedly do it a lot of good.

Closes #18186.
2018-08-18 14:45:55 +02:00
..
msvc/wx Factor out WXUSINGDLL check in MSVC-specific wx/setup.h 2018-05-31 01:21:20 +02:00
wx Fix mouse event handling while dragging in wxGrid 2018-08-18 14:45:55 +02:00