Merge branch 'fix-grid-resizing'

Fix bugs in wxGrid mouse handling and simplify the code.

See https://github.com/wxWidgets/wxWidgets/pull/2018
This commit is contained in:
Vadim Zeitlin
2020-08-31 14:53:37 +02:00
2 changed files with 85 additions and 79 deletions

View File

@@ -3003,7 +3003,6 @@ private:
void DoGridProcessTab(wxKeyboardState& kbdState);
// common implementations of methods defined for both rows and columns
bool DoEndDragResizeLine(const wxGridOperations& oper, wxGridWindow *gridWindow);
int PosToLinePos(int pos, bool clipToMinMax,
const wxGridOperations& oper,
wxGridWindow *gridWindow) const;