(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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user