summaryrefslogtreecommitdiff
path: root/src/waypoint_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/waypoint_gui.cpp')
-rw-r--r--src/waypoint_gui.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/waypoint_gui.cpp b/src/waypoint_gui.cpp
index c25759aa0..e935113b3 100644
--- a/src/waypoint_gui.cpp
+++ b/src/waypoint_gui.cpp
@@ -26,9 +26,7 @@
/** Widget definitions for the waypoint window. */
enum WaypointWindowWidgets {
- WAYPVW_CLOSEBOX = 0,
WAYPVW_CAPTION,
- WAYPVW_STICKY,
WAYPVW_VIEWPORTPANEL,
WAYPVW_SPACER,
WAYPVW_VIEWPORT,
@@ -125,9 +123,9 @@ public:
static const NWidgetPart _nested_waypoint_view_widgets[] = {
NWidget(NWID_HORIZONTAL),
- NWidget(WWT_CLOSEBOX, COLOUR_GREY, WAYPVW_CLOSEBOX),
+ NWidget(WWT_CLOSEBOX, COLOUR_GREY),
NWidget(WWT_CAPTION, COLOUR_GREY, WAYPVW_CAPTION), SetDataTip(STR_WAYPOINT_VIEW_CAPTION, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS),
- NWidget(WWT_STICKYBOX, COLOUR_GREY, WAYPVW_STICKY),
+ NWidget(WWT_STICKYBOX, COLOUR_GREY),
EndContainer(),
NWidget(WWT_PANEL, COLOUR_GREY, WAYPVW_VIEWPORTPANEL),
NWidget(WWT_INSET, COLOUR_GREY, WAYPVW_SPACER), SetPadding(2, 2, 2, 2),