summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-04-08 18:19:49 +0200
committerCarl Hetherington <cth@carlh.net>2024-04-08 21:19:49 +0200
commitdfe62ce634cc61823f115bb8f24b04e4959f4aa1 (patch)
treed940d9f3c09c5168b877eaa103474ccf63bbc360
parent8591e36c9113b4a5c1bde7152e56972a13a543a9 (diff)
Fix DCP Timeline menu on macOS.
-rw-r--r--src/wx/dcp_timeline.cc3
-rw-r--r--src/wx/id.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/wx/dcp_timeline.cc b/src/wx/dcp_timeline.cc
index 119d07b03..6474a8428 100644
--- a/src/wx/dcp_timeline.cc
+++ b/src/wx/dcp_timeline.cc
@@ -25,6 +25,7 @@
#include "dcp_timeline_reel_marker_view.h"
#include "dcpomatic_choice.h"
#include "dcpomatic_spin_ctrl.h"
+#include "id.h"
#include "timecode.h"
#include "wx_util.h"
#include "lib/atmos_content.h"
@@ -55,7 +56,7 @@ auto constexpr content_y_pos = 112;
auto constexpr content_type_height = 12;
enum {
- ID_add_reel_boundary,
+ ID_add_reel_boundary = DCPOMATIC_DCP_TIMELINE_MENU
};
diff --git a/src/wx/id.h b/src/wx/id.h
index 99aa25855..4839a0868 100644
--- a/src/wx/id.h
+++ b/src/wx/id.h
@@ -24,4 +24,5 @@
#define DCPOMATIC_CPL_MENU (wxID_HIGHEST + 1000)
#define DCPOMATIC_CONTENT_MENU (wxID_HIGHEST + 1500)
#define DCPOMATIC_AUDIO_GAIN_MENU (wxID_HIGHEST + 2000)
+#define DCPOMATIC_DCP_TIMELINE_MENU (wxID_HIGHEST + 2500)