summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-12-12 14:14:26 +0000
committerrubidium <rubidium@openttd.org>2010-12-12 14:14:26 +0000
commita029b2b83aa344fdd8ba1f7bc0915205c52daca0 (patch)
tree95fc2013ee1d0e8c8ecd5b02ec8b807047922267 /src/window_gui.h
parent5910bde58367764387e00c76e14d7465be942e7f (diff)
downloadopenttd-a029b2b83aa344fdd8ba1f7bc0915205c52daca0.tar.xz
(svn r21477) -Fix [FS#4300]: tooltips were removed when their related window got closed
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index b69f01294..90e3135be 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -792,7 +792,7 @@ enum TooltipCloseCondition {
TCC_HOVER,
};
-void GuiShowTooltips(StringID str, uint paramcount = 0, const uint64 params[] = NULL, TooltipCloseCondition close_tooltip = TCC_HOVER);
+void GuiShowTooltips(Window *parent, StringID str, uint paramcount = 0, const uint64 params[] = NULL, TooltipCloseCondition close_tooltip = TCC_HOVER);
/* widget.cpp */
int GetWidgetFromPos(const Window *w, int x, int y);