From 620d3c8db23704b69fc593bd470e7827daa11d86 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 9 Jul 2024 19:35:44 +0200 Subject: Add missing ID. --- src/wx/dcp_timeline.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/wx/dcp_timeline.cc b/src/wx/dcp_timeline.cc index 59aa6d6f4..680118422 100644 --- a/src/wx/dcp_timeline.cc +++ b/src/wx/dcp_timeline.cc @@ -167,8 +167,8 @@ DCPTimeline::DCPTimeline(wxWindow* parent, shared_ptr film) _film_connection = film->Change.connect(boost::bind(&DCPTimeline::film_changed, this, _1, _2)); _menu = new wxMenu; - _canvas->Bind(wxEVT_MENU, boost::bind(&DCPTimeline::add_reel_boundary, this)); _add_reel_boundary = _menu->Append(ID_add_reel_boundary, _("Add reel boundary")); + _canvas->Bind(wxEVT_MENU, boost::bind(&DCPTimeline::add_reel_boundary, this), ID_add_reel_boundary); setup_reel_settings(); setup_reel_boundaries(); -- cgit v1.2.3