From: Carl Hetherington Date: Mon, 8 Apr 2024 16:19:49 +0000 (+0200) Subject: Fix DCP Timeline menu on macOS. X-Git-Tag: v2.17.16~23 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;ds=sidebyside;h=dfe62ce634cc61823f115bb8f24b04e4959f4aa1;p=dcpomatic.git Fix DCP Timeline menu on macOS. --- 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)