diff options
author | B. Stack <bgstack15@gmail.com> | 2021-08-17 19:22:37 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2021-08-17 19:22:37 -0400 |
commit | 3555dbc4b7157f9b522617de78c84f2e28e70f45 (patch) | |
tree | ec5580fe98230ce8eb25a5ed6e53b3ec5dfd03f9 /wx+/grid.cpp | |
parent | Merge branch '11.12-fix' into 'master' (diff) | |
download | FreeFileSync-3555dbc4b7157f9b522617de78c84f2e28e70f45.tar.gz FreeFileSync-3555dbc4b7157f9b522617de78c84f2e28e70f45.tar.bz2 FreeFileSync-3555dbc4b7157f9b522617de78c84f2e28e70f45.zip |
add upstream 11.13
Diffstat (limited to 'wx+/grid.cpp')
-rw-r--r-- | wx+/grid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wx+/grid.cpp b/wx+/grid.cpp index 80e9d1d6..a32de84e 100644 --- a/wx+/grid.cpp +++ b/wx+/grid.cpp @@ -1761,7 +1761,7 @@ void Grid::onKeyDown(wxKeyEvent& event) const size_t row = std::min(mainWin_->getCursor(), getRowCount()); const int clientPosMainWinY = std::clamp(CalcScrolledPosition(wxPoint(0, rowLabelWin_->getRowHeight() * (row + 1))).y - 1, //logical -> window coordinates - 0, mainWin_->GetClientSize().GetHeight() - 1); + 0, mainWin_->GetClientSize().GetHeight() - 1); const wxPoint mousePos = mainWin_->GetPosition() + wxPoint(0, clientPosMainWinY); //mainWin_-relative to Grid-relative |