Give content menu on both main control and timeline. Fix silly bug on updating edito...
[dcpomatic.git] / src / wx / film_editor.h
index 7347ab1a6326d6c2c75b849de2eb8f4d260fcf32..9501bbd7cbb0d82f0da896b567c9273b58af3427 100644 (file)
@@ -27,6 +27,7 @@
 #include <wx/collpane.h>
 #include <boost/signals2.hpp>
 #include "lib/film.h"
+#include "content_menu.h"
 
 class wxNotebook;
 class wxListCtrl;
@@ -97,6 +98,7 @@ private:
        void dcp_audio_channels_changed (wxCommandEvent &);
        void dcp_resolution_changed (wxCommandEvent &);
        void sequence_video_changed (wxCommandEvent &);
+       void content_right_click (wxListEvent &);
 
        /* Handle changes to the model */
        void film_changed (Film::Property);
@@ -173,6 +175,8 @@ private:
        Timecode* _length;
        wxChoice* _dcp_resolution;
 
+       ContentMenu _menu;
+
        std::vector<Ratio const *> _ratios;
 
        bool _generally_sensitive;