Improve rows, columns and cells deselection in wxGrid

Use DeselectBlock() instead of ToggleCellSelection() to improve execution
speed and make the code more clean.
This commit is contained in:
Ilya Sinitsyn
2020-03-26 05:50:25 +07:00
committed by Vadim Zeitlin
parent f1c3dfdca6
commit cdf3187fe5
2 changed files with 14 additions and 32 deletions

View File

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