summaryrefslogtreecommitdiff
path: root/src/date_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/date_gui.cpp')
-rw-r--r--src/date_gui.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/date_gui.cpp b/src/date_gui.cpp
index fa9f17507..c179641d8 100644
--- a/src/date_gui.cpp
+++ b/src/date_gui.cpp
@@ -18,17 +18,10 @@
#include "core/geometry_func.hpp"
#include "widgets/dropdown_type.h"
+#include "widgets/date_widget.h"
#include "table/strings.h"
-/** Widgets used by the date window */
-enum SetDateWidgets {
- SDW_DAY, ///< Dropdown for the day
- SDW_MONTH, ///< Dropdown for the month
- SDW_YEAR, ///< Dropdown for the year
- SDW_SET_DATE, ///< Actually set the date
-};
-
/** Window to select a date graphically by using dropdowns */
struct SetDateWindow : Window {
SetDateCallback *callback; ///< Callback to call when a date has been selected