summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/dropdown.cpp1
-rw-r--r--src/widgets/dropdown_func.h2
-rw-r--r--src/widgets/dropdown_type.h1
3 files changed, 3 insertions, 1 deletions
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 <list>
/**