Try to improve spacing in Keys tab of prefs on macOS (#1550).
[dcpomatic.git] / src / wx / content_menu.h
index 43480888a5007ed306bc49f0468dd71fe1d01379..a38109b0738e84914139a38ca0350c47b6c54604 100644 (file)
 
 class Film;
 class Job;
+class DCPContent;
 
 class ContentMenu : public boost::noncopyable
 {
 public:
-       ContentMenu (wxWindow* p);
-       ~ContentMenu ();
+       explicit ContentMenu (wxWindow* p);
 
        void popup (boost::weak_ptr<Film>, ContentList, TimelineContentViewList, wxPoint);
 
@@ -55,6 +55,7 @@ private:
        /** Film that we are working with; set up by popup() */
        boost::weak_ptr<Film> _film;
        wxWindow* _parent;
+       bool _pop_up_open;
        ContentList _content;
        TimelineContentViewList _views;
        wxMenuItem* _repeat;
@@ -66,8 +67,6 @@ private:
        wxMenuItem* _ov;
        wxMenuItem* _choose_cpl;
        wxMenuItem* _remove;
-
-       boost::signals2::scoped_connection _job_connection;
 };
 
 #endif