diff options
author | alberth <alberth@openttd.org> | 2009-05-16 11:25:19 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2009-05-16 11:25:19 +0000 |
commit | db7e24e211ce8c72a0ddd3a7094bf24de4777678 (patch) | |
tree | 4ae9044dfec3db872aa45d06ede58f84a8679e17 /src/window_gui.h | |
parent | c299a38e1f33464fd8c521915bc2391623b56971 (diff) | |
download | openttd-db7e24e211ce8c72a0ddd3a7094bf24de4777678.tar.xz |
(svn r16317) -Codechange: Generalized finding a widget by type.
Diffstat (limited to 'src/window_gui.h')
-rw-r--r-- | src/window_gui.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window_gui.h b/src/window_gui.h index d35faa441..6f30a49a3 100644 --- a/src/window_gui.h +++ b/src/window_gui.h @@ -376,7 +376,7 @@ public: } void HandleButtonClick(byte widget); - bool HasWidgetOfType(WidgetType widget_type) const; + const Widget *GetWidgetOfType(WidgetType widget_type) const; void RaiseButtons(); void CDECL SetWidgetsDisabledState(bool disab_stat, int widgets, ...); |