(svn r21477) -Fix [FS#4300]: tooltips were removed when their related window got closed

This commit is contained in:
rubidium
2010-12-12 14:14:26 +00:00
parent 9e6f0ab484
commit 004b2b6001
6 changed files with 12 additions and 10 deletions

View File

@@ -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);