diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-02-09 02:06:04 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-02-09 17:29:16 +0100 |
| commit | d0308d53dd9f4d036d8c5fe8023920fcdfd43f39 (patch) | |
| tree | 5b37c1db5dc50e541a542663390061f743fe815a /src/wx/content_menu.h | |
| parent | 8d0d9866ae3e0395d899705e27b3806a5de7ef0e (diff) | |
Remove unnecessary wx_ptr
It was only ever used for wxDialog subclasses, which can be
stack-allocated.
Diffstat (limited to 'src/wx/content_menu.h')
| -rw-r--r-- | src/wx/content_menu.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wx/content_menu.h b/src/wx/content_menu.h index e7f095390..a9348fe29 100644 --- a/src/wx/content_menu.h +++ b/src/wx/content_menu.h @@ -25,7 +25,6 @@ #include "auto_crop_dialog.h" #include "timeline_content_view.h" -#include "wx_ptr.h" #include "lib/types.h" #include <dcp/warnings.h> LIBDCP_DISABLE_WARNINGS @@ -90,7 +89,7 @@ private: wxMenuItem* _set_dcp_markers; wxMenuItem* _remove; - wx_ptr<AutoCropDialog> _auto_crop_dialog; + boost::optional<AutoCropDialog> _auto_crop_dialog; boost::signals2::scoped_connection _auto_crop_config_connection; boost::signals2::scoped_connection _auto_crop_viewer_connection; }; |
