summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-06-01 10:42:46 +0000
committerfrosch <frosch@openttd.org>2012-06-01 10:42:46 +0000
commit6207a6017f55729aa3fe365e00c1a4940a917c06 (patch)
treee8679a0733efb239b280c07e46b608009c687d08 /src/window_gui.h
parentb921c17ffb3d7f1a9abc8a52165c55cddd5e3d07 (diff)
downloadopenttd-6207a6017f55729aa3fe365e00c1a4940a917c06.tar.xz
(svn r24307) -Codechange: Move all interaction of the dropdown window with widgets of the parent window to a method of the parent window.
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index 1e5fb5a39..bd1448ee9 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -665,6 +665,8 @@ public:
*/
virtual void OnDropdownSelect(int widget, int index) {}
+ virtual void OnDropdownClose(Point pt, int widget, int index, bool instant_close);
+
/**
* The query window opened from this window has closed.
* @param str the new value of the string, NULL if the window