1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-09-02 11:29:10 +00:00

(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

@@ -16,6 +16,7 @@
#include "window_func.h"
#include "gfx_func.h"
#include "querystring_gui.h"
#include "video/video_driver.hpp"
#include "widgets/osk_widget.h"
@@ -205,6 +206,7 @@ struct OskWindow : public Window {
virtual void OnFocusLost()
{
_video_driver->EditBoxLostFocus();
delete this;
}
};