diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-09-27 00:44:25 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-09-27 13:46:16 +0200 |
| commit | 9adbb3c5ab5d90268a3009c4a6f1bbc5f6290d81 (patch) | |
| tree | 47e741a3740aa6beef92f0dd1e3b675fe2df851b /src/wx/content_panel.h | |
| parent | d0da1d77b1fc2f65eeab8572e5ee76bf85094dda (diff) | |
Use EnumIndexedVector in ContentPanel.
Diffstat (limited to 'src/wx/content_panel.h')
| -rw-r--r-- | src/wx/content_panel.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/content_panel.h b/src/wx/content_panel.h index a886b0217..eec062284 100644 --- a/src/wx/content_panel.h +++ b/src/wx/content_panel.h @@ -20,6 +20,7 @@ #include "content_menu.h" +#include "lib/enum_indexed_vector.h" #include "lib/film.h" #include "lib/types.h" #include <dcp/warnings.h> @@ -146,7 +147,7 @@ private: wxButton* _timeline; VideoPanel* _video_panel = nullptr; AudioPanel* _audio_panel = nullptr; - TextPanel* _text_panel[static_cast<int>(TextType::COUNT)]; + EnumIndexedVector<TextPanel*, TextType> _text_panel; TimingPanel* _timing_panel; ContentMenu* _menu; TimelineDialog* _timeline_dialog = nullptr; |
