summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2013-08-05 20:37:02 +0000
committermichi_cc <michi_cc@openttd.org>2013-08-05 20:37:02 +0000
commit13873d2534208ddc4596a9354d23d1e4940339ac (patch)
treec0145e41d56780536e4a15f26eaad1249fe3132c /src/window_gui.h
parentb96ef5c758ccb25e2ad780ea06c78c8b39df8ca8 (diff)
downloadopenttd-13873d2534208ddc4596a9354d23d1e4940339ac.tar.xz
(svn r25678) -Codechange: Notify the video driver when an edit box lost (global) focus so it can abort any current input composition.
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index ce9c062c6..ade8a3f1d 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -582,10 +582,7 @@ public:
*/
virtual void OnFocus() {}
- /**
- * Called when window looses focus
- */
- virtual void OnFocusLost() {}
+ virtual void OnFocusLost();
/**
* A key has been pressed.