(svn r25678) -Codechange: Notify the video driver when an edit box lost (global) focus so it can abort any current input composition.

This commit is contained in:
michi_cc
2013-08-05 20:37:02 +00:00
parent b96ef5c758
commit 13873d2534
5 changed files with 30 additions and 5 deletions

View File

@@ -21,6 +21,7 @@
#include "settings_type.h"
#include "console_func.h"
#include "rev.h"
#include "video/video_driver.hpp"
#include "widgets/console_widget.h"
@@ -311,6 +312,11 @@ struct IConsoleWindow : Window
{
this->Scroll(-wheel);
}
virtual void OnFocusLost()
{
_video_driver->EditBoxLostFocus();
}
};
int IConsoleWindow::scroll = 0;