summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-07 20:28:58 +0000
committerrubidium <rubidium@openttd.org>2008-04-07 20:28:58 +0000
commitee02dd7dadb00e51a04b65e38603d77e9cfa1848 (patch)
tree9f8c5c236cf106ef895d27405d1a9d266e338480 /src/widgets
parentf04ecd2e4a90bc62a6d8728261a8fdf78efdd545 (diff)
downloadopenttd-ee02dd7dadb00e51a04b65e38603d77e9cfa1848.tar.xz
(svn r12619) -Codechange: lots of documentation about window related stuff. Patch by Alberth.
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/dropdown.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/widgets/dropdown.cpp b/src/widgets/dropdown.cpp
index 225140e9e..89e336a58 100644
--- a/src/widgets/dropdown.cpp
+++ b/src/widgets/dropdown.cpp
@@ -313,6 +313,10 @@ void ShowDropDownMenu(Window *w, const StringID *strings, int selected, int butt
ShowDropDownList(w, list, selected, button);
}
+/**
+ * Delete the drop-down menu from window \a pw
+ * @param pw Parent window of the drop-down menu window
+ */
void HideDropDownMenu(Window *pw)
{
Window **wz;