summaryrefslogtreecommitdiff
path: root/src/wx/markers_panel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-01-11 22:50:29 +0100
committerCarl Hetherington <cth@carlh.net>2024-01-11 22:50:29 +0100
commit80c463b76284aa87f892fb331877c2caf5cc2771 (patch)
tree3d278e61e102260dccd8c6a75f21b46d85c78151 /src/wx/markers_panel.cc
parentfb415933fc53d55f25b46d00065fc39ffda43eb4 (diff)
Attempt to rationalise menu IDs and avoid duplicates.
Diffstat (limited to 'src/wx/markers_panel.cc')
-rw-r--r--src/wx/markers_panel.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/markers_panel.cc b/src/wx/markers_panel.cc
index 463f06758..42a3ce8ae 100644
--- a/src/wx/markers_panel.cc
+++ b/src/wx/markers_panel.cc
@@ -20,6 +20,7 @@
#include "film_viewer.h"
+#include "id.h"
#include "markers.h"
#include "markers_panel.h"
#include "wx_util.h"
@@ -41,7 +42,7 @@ using namespace boost::placeholders;
enum {
- ID_move_marker_to_current_position,
+ ID_move_marker_to_current_position = DCPOMATIC_MARKERS_PANEL_MENU,
ID_remove_marker,
ID_add_marker,
/* Leave some space after this one as we use an ID for each marker type