summaryrefslogtreecommitdiff
path: root/wx+/grid.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2015-10-02 14:56:44 +0200
committerDaniel Wilhelm <daniel@wili.li>2015-10-02 14:56:44 +0200
commitdbb46788aafdd0d55454a8be483743876c83b33e (patch)
tree28e0e00f56611c58059c053d2687289be082cf5c /wx+/grid.cpp
parent7.3 (diff)
downloadFreeFileSync-dbb46788aafdd0d55454a8be483743876c83b33e.tar.gz
FreeFileSync-dbb46788aafdd0d55454a8be483743876c83b33e.tar.bz2
FreeFileSync-dbb46788aafdd0d55454a8be483743876c83b33e.zip
7.4
Diffstat (limited to 'wx+/grid.cpp')
-rw-r--r--wx+/grid.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/wx+/grid.cpp b/wx+/grid.cpp
index b24fabdc..9eea2e28 100644
--- a/wx+/grid.cpp
+++ b/wx+/grid.cpp
@@ -1522,8 +1522,8 @@ void Grid::onKeyDown(wxKeyEvent& event)
case WXK_NUMPAD_HOME:
if (event.ShiftDown())
selectWithCursorTo(0);
- else if (event.ControlDown())
- moveCursorTo(0);
+ //else if (event.ControlDown())
+ // ;
else
moveCursorTo(0);
return;
@@ -1532,8 +1532,8 @@ void Grid::onKeyDown(wxKeyEvent& event)
case WXK_NUMPAD_END:
if (event.ShiftDown())
selectWithCursorTo(rowCount - 1);
- else if (event.ControlDown())
- moveCursorTo(rowCount - 1);
+ //else if (event.ControlDown())
+ // ;
else
moveCursorTo(rowCount - 1);
return;
@@ -1542,8 +1542,8 @@ void Grid::onKeyDown(wxKeyEvent& event)
case WXK_NUMPAD_PAGEUP:
if (event.ShiftDown())
selectWithCursorTo(cursorRow - GetClientSize().GetHeight() / rowLabelWin_->getRowHeight());
- else if (event.ControlDown())
- ;
+ //else if (event.ControlDown())
+ // ;
else
moveCursorTo(cursorRow - GetClientSize().GetHeight() / rowLabelWin_->getRowHeight());
return;
@@ -1552,8 +1552,8 @@ void Grid::onKeyDown(wxKeyEvent& event)
case WXK_NUMPAD_PAGEDOWN:
if (event.ShiftDown())
selectWithCursorTo(cursorRow + GetClientSize().GetHeight() / rowLabelWin_->getRowHeight());
- else if (event.ControlDown())
- ;
+ //else if (event.ControlDown())
+ // ;
else
moveCursorTo(cursorRow + GetClientSize().GetHeight() / rowLabelWin_->getRowHeight());
return;
bgstack15