Merge master.
[dcpomatic.git] / src / wx / content_menu.h
index 9f4bd4cc4378059d116fc8d071660826ca6e0ac2..f2ad3aa75621ac04a114b46badd931b6bd92a4b1 100644 (file)
@@ -30,10 +30,10 @@ class Film;
 class ContentMenu
 {
 public:
-       ContentMenu (boost::shared_ptr<Film>, wxWindow *);
+       ContentMenu (wxWindow* p);
        ~ContentMenu ();
-
-       void popup (ContentList, wxPoint);
+       
+       void popup (boost::weak_ptr<Film>, ContentList, wxPoint);
 
 private:
        void repeat ();
@@ -43,6 +43,7 @@ private:
        void maybe_found_missing (boost::weak_ptr<Job>, boost::weak_ptr<Content>, boost::weak_ptr<Content>);
        
        wxMenu* _menu;
+       /** Film that we are working with; set up by popup() */
        boost::weak_ptr<Film> _film;
        wxWindow* _parent;
        ContentList _content;