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
commit1dc0af3248ba5196ba77413a0140c5a28399cc00 (patch)
tree9f8c5c236cf106ef895d27405d1a9d266e338480 /src/widgets
parent16cb87139885765456c4e0d261ff4b96e5e3b0e9 (diff)
downloadopenttd-1dc0af3248ba5196ba77413a0140c5a28399cc00.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;