diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-01-16 01:14:37 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-01-16 01:15:50 +0100 |
| commit | fe851f2e6e57d3a8781ecc173089c19632c521e3 (patch) | |
| tree | fd0f388d9ce9eccb4a8011361bd166d192918bd8 /src/wx/dcp_panel.h | |
| parent | e8748f158249d7be906f6c6cf2411df45dd07a24 (diff) | |
Use wx_ptr more.
Diffstat (limited to 'src/wx/dcp_panel.h')
| -rw-r--r-- | src/wx/dcp_panel.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/wx/dcp_panel.h b/src/wx/dcp_panel.h index 7d7f0bd79..cd39f2d1e 100644 --- a/src/wx/dcp_panel.h +++ b/src/wx/dcp_panel.h @@ -19,6 +19,7 @@ */ +#include "wx_ptr.h" #include "lib/config.h" #include "lib/film.h" @@ -159,10 +160,10 @@ private: wxButton* _metadata; wxSizer* _audio_panel_sizer; - AudioDialog* _audio_dialog = nullptr; - MarkersDialog* _markers_dialog = nullptr; - InteropMetadataDialog* _interop_metadata_dialog = nullptr; - SMPTEMetadataDialog* _smpte_metadata_dialog = nullptr; + wx_ptr<AudioDialog> _audio_dialog; + wx_ptr<MarkersDialog> _markers_dialog; + wx_ptr<InteropMetadataDialog> _interop_metadata_dialog; + wx_ptr<SMPTEMetadataDialog> _smpte_metadata_dialog; std::shared_ptr<Film> _film; FilmViewer& _viewer; |
