bb00501e77
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. |
||
---|---|---|
.. | ||
msvc/wx | ||
wx |