summaryrefslogtreecommitdiff
path: root/src/error_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/error_gui.cpp')
-rw-r--r--src/error_gui.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/error_gui.cpp b/src/error_gui.cpp
index 31a887cc7..603f7e80c 100644
--- a/src/error_gui.cpp
+++ b/src/error_gui.cpp
@@ -24,16 +24,11 @@
#include "console_func.h"
#include "window_gui.h"
+#include "widgets/error_widget.h"
+
#include "table/strings.h"
#include <list>
-/** Widgets of the error message windows */
-enum ErrorMessageWidgets {
- EMW_CAPTION,
- EMW_FACE,
- EMW_MESSAGE,
-};
-
static const NWidgetPart _nested_errmsg_widgets[] = {
NWidget(NWID_HORIZONTAL),
NWidget(WWT_CLOSEBOX, COLOUR_RED),