X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fcontent_menu.h;fp=src%2Fwx%2Fcontent_menu.h;h=a9f9093c6ab5bb3c94d48244480bc1859495bbf2;hb=4014143952f791973d94c5cfb5bec9e97d1462b7;hp=9f4bd4cc4378059d116fc8d071660826ca6e0ac2;hpb=5c6292315aa7c31a076e8ace513f62e062440a33;p=dcpomatic.git diff --git a/src/wx/content_menu.h b/src/wx/content_menu.h index 9f4bd4cc4..a9f9093c6 100644 --- a/src/wx/content_menu.h +++ b/src/wx/content_menu.h @@ -30,10 +30,10 @@ class Film; class ContentMenu { public: - ContentMenu (boost::shared_ptr, wxWindow *); + ContentMenu (wxWindow *); ~ContentMenu (); - void popup (ContentList, wxPoint); + void popup (boost::weak_ptr, ContentList, wxPoint); private: void repeat (); @@ -43,6 +43,7 @@ private: void maybe_found_missing (boost::weak_ptr, boost::weak_ptr, boost::weak_ptr); wxMenu* _menu; + /** Film that we are working with; set up by popup() */ boost::weak_ptr _film; wxWindow* _parent; ContentList _content;