diff options
author | Daniel Wilhelm <daniel@wili.li> | 2015-10-02 14:56:44 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2015-10-02 14:56:44 +0200 |
commit | dbb46788aafdd0d55454a8be483743876c83b33e (patch) | |
tree | 28e0e00f56611c58059c053d2687289be082cf5c /wx+ | |
parent | 7.3 (diff) | |
download | FreeFileSync-dbb46788aafdd0d55454a8be483743876c83b33e.tar.gz FreeFileSync-dbb46788aafdd0d55454a8be483743876c83b33e.tar.bz2 FreeFileSync-dbb46788aafdd0d55454a8be483743876c83b33e.zip |
7.4
Diffstat (limited to 'wx+')
-rw-r--r-- | wx+/bitmap_button.h | 1 | ||||
-rw-r--r-- | wx+/grid.cpp | 16 |
2 files changed, 9 insertions, 8 deletions
diff --git a/wx+/bitmap_button.h b/wx+/bitmap_button.h index 6c186926..960e4579 100644 --- a/wx+/bitmap_button.h +++ b/wx+/bitmap_button.h @@ -10,6 +10,7 @@ #include <wx/bmpbuttn.h> #include "image_tools.h" + namespace zen { //zen::BitmapTextButton is identical to wxBitmapButton, but preserves the label via SetLabel(), which wxFormbuilder would ditch! 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; |