diff options
author | B Stack <bgstack15@gmail.com> | 2019-08-15 15:51:34 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2019-08-15 15:51:39 -0400 |
commit | 17994eb3eda9d2be9aad55dae41562ce13531d99 (patch) | |
tree | afc54ec004ab863262f5621fbf282c42fdff29cc /wx+/grid.cpp | |
parent | Merge branch '10.14' into 'master' (diff) | |
download | FreeFileSync-17994eb3eda9d2be9aad55dae41562ce13531d99.tar.gz FreeFileSync-17994eb3eda9d2be9aad55dae41562ce13531d99.tar.bz2 FreeFileSync-17994eb3eda9d2be9aad55dae41562ce13531d99.zip |
add upstream 10.15
Diffstat (limited to 'wx+/grid.cpp')
-rw-r--r-- | wx+/grid.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wx+/grid.cpp b/wx+/grid.cpp index 804c8fba..851146bc 100644 --- a/wx+/grid.cpp +++ b/wx+/grid.cpp @@ -272,7 +272,7 @@ public: { Connect(wxEVT_PAINT, wxPaintEventHandler(SubWindow::onPaintEvent), nullptr, this); Connect(wxEVT_SIZE, wxSizeEventHandler (SubWindow::onSizeEvent), nullptr, this); - Bind(wxEVT_ERASE_BACKGROUND, [](wxEraseEvent& event) {}); //http://wiki.wxwidgets.org/Flicker-Free_Drawing + Bind(wxEVT_ERASE_BACKGROUND, [](wxEraseEvent& event) {}); //https://wiki.wxwidgets.org/Flicker-Free_Drawing //SetDoubleBuffered(true); slow as hell! @@ -1326,7 +1326,7 @@ Grid::Grid(wxWindow* parent, Connect(wxEVT_PAINT, wxPaintEventHandler(Grid::onPaintEvent), nullptr, this); Connect(wxEVT_SIZE, wxSizeEventHandler (Grid::onSizeEvent ), nullptr, this); - Bind(wxEVT_ERASE_BACKGROUND, [](wxEraseEvent& event) {}); //http://wiki.wxwidgets.org/Flicker-Free_Drawing + Bind(wxEVT_ERASE_BACKGROUND, [](wxEraseEvent& event) {}); //https://wiki.wxwidgets.org/Flicker-Free_Drawing Connect(wxEVT_KEY_DOWN, wxKeyEventHandler(Grid::onKeyDown), nullptr, this); Connect(wxEVT_KEY_UP, wxKeyEventHandler(Grid::onKeyUp ), nullptr, this); |