diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/console_gui.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/console_gui.cpp b/src/console_gui.cpp index c01342198..c698d7257 100644 --- a/src/console_gui.cpp +++ b/src/console_gui.cpp @@ -342,6 +342,11 @@ struct IConsoleWindow : Window } return ES_HANDLED; } + + virtual void OnMouseWheel(int wheel) + { + this->Scroll(-wheel); + } }; int IConsoleWindow::scroll = 0; |