From 82fc28f77f4ba1d613c1930781f77b45e4af5121 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 15 Jan 2010 16:41:15 +0000 Subject: (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header --- src/widgets/dropdown.cpp | 1 - src/widgets/dropdown_func.h | 2 ++ src/widgets/dropdown_type.h | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/widgets') diff --git a/src/widgets/dropdown.cpp b/src/widgets/dropdown.cpp index 72bc30856..1056ebced 100644 --- a/src/widgets/dropdown.cpp +++ b/src/widgets/dropdown.cpp @@ -12,7 +12,6 @@ #include "../stdafx.h" #include "../window_gui.h" #include "../strings_func.h" -#include "../gfx_func.h" #include "../window_func.h" #include "dropdown_type.h" diff --git a/src/widgets/dropdown_func.h b/src/widgets/dropdown_func.h index 98971975e..4c7e13456 100644 --- a/src/widgets/dropdown_func.h +++ b/src/widgets/dropdown_func.h @@ -12,6 +12,8 @@ #ifndef WIDGETS_DROPDOWN_FUNC_H #define WIDGETS_DROPDOWN_FUNC_H +#include "../window_gui.h" + /* Show drop down menu containing a fixed list of strings */ void ShowDropDownMenu(Window *w, const StringID *strings, int selected, int button, uint32 disabled_mask, uint32 hidden_mask, uint width = 0); diff --git a/src/widgets/dropdown_type.h b/src/widgets/dropdown_type.h index 5e71012dc..5431263b0 100644 --- a/src/widgets/dropdown_type.h +++ b/src/widgets/dropdown_type.h @@ -13,6 +13,7 @@ #define WIDGETS_DROPDOWN_TYPE_H #include "../window_type.h" +#include "../gfx_func.h" #include /** -- cgit v1.2.3-70-g09d2