summaryrefslogtreecommitdiff
path: root/src/widgets/newgrf_widget.h
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-12-16 16:23:50 +0000
committertruebrain <truebrain@openttd.org>2011-12-16 16:23:50 +0000
commit98d3f11d45c879b6cb0728c7a77fab349329abe8 (patch)
treeed784007a33a4f0320dbf07ef99b35a060f142f5 /src/widgets/newgrf_widget.h
parent2aa774e831ad1cb7849c998759449ef777c5c664 (diff)
downloadopenttd-98d3f11d45c879b6cb0728c7a77fab349329abe8.tar.xz
(svn r23529) -Codechange: make all widget enum values unique and make them include the files they need to compile
Diffstat (limited to 'src/widgets/newgrf_widget.h')
-rw-r--r--src/widgets/newgrf_widget.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/widgets/newgrf_widget.h b/src/widgets/newgrf_widget.h
index d76d3019b..b5d219fee 100644
--- a/src/widgets/newgrf_widget.h
+++ b/src/widgets/newgrf_widget.h
@@ -12,6 +12,8 @@
#ifndef WIDGETS_NEWGRF_WIDGET_H
#define WIDGETS_NEWGRF_WIDGET_H
+#include "../newgrf_config.h"
+
/** Widgets of the WC_GRF_PARAMETERS. */
enum ShowNewGRFParametersWidgets {
GRFPAR_WIDGET_SHOW_NUMPAR, ///< #NWID_SELECTION to optionally display #GRFPAR_WIDGET_NUMPAR
@@ -67,7 +69,7 @@ enum ShowNewGRFStateWidgets {
/** Widgets of the WC_MODAL_PROGRESS (WC_MODAL_PROGRESS is also used in GenerationProgressWindowWidgets). */
enum ScanProgressWindowWidgets {
SPWW_PROGRESS_BAR, ///< Simple progress bar.
- GPWW_PROGRESS_TEXT, ///< Text explaining what is happening.
+ SPWW_PROGRESS_TEXT, ///< Text explaining what is happening.
};
#endif /* WIDGETS_NEWGRF_WIDGET_H */