X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fcontrols.h;h=377960425ba2807e5982ede7f25ffd4ec8e376a5;hb=c76a7e968f54eb0e6c8da9c1ae6bc069ed05fdda;hp=9a22d770908ae6d6e581fbce6427b59c4389ba72;hpb=b539d468acc3ca73cc58a4434002e511a4995f7d;p=dcpomatic.git diff --git a/src/wx/controls.h b/src/wx/controls.h index 9a22d7709..377960425 100644 --- a/src/wx/controls.h +++ b/src/wx/controls.h @@ -79,7 +79,7 @@ protected: wxBoxSizer* _button_sizer; std::shared_ptr _film; wxSlider* _slider; - std::shared_ptr _viewer; + std::weak_ptr _viewer; boost::optional _active_job; private: