X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Ftext_panel.h;h=eee5e916cb50248f9e48713d269fb77c70850101;hp=c4498f970b7a8d6c6e3d01911d44ca1fe4e1fe34;hb=693013b77341e4177c792de091ab9a524e33c477;hpb=19e47294d1de485a12dccf2c25bec0c8144049e8 diff --git a/src/wx/text_panel.h b/src/wx/text_panel.h index c4498f970..eee5e916c 100644 --- a/src/wx/text_panel.h +++ b/src/wx/text_panel.h @@ -20,9 +20,10 @@ #include "content_sub_panel.h" +#include "wx_ptr.h" -class wxCheckBox; +class CheckBox; class wxSpinCtrl; class LanguageTagWidget; class TextView; @@ -62,7 +63,7 @@ private: void update_dcp_track_selection (); void add_to_grid () override; void try_to_load_analysis (); - void analysis_finished (); + void analysis_finished(Job::Result result); void language_changed (); void language_is_additional_changed (); @@ -72,12 +73,12 @@ private: void update_outline_subtitles_in_viewer (); void clear_outline_subtitles (); - wxCheckBox* _reference; + CheckBox* _reference; wxStaticText* _reference_note; - wxCheckBox* _outline_subtitles = nullptr; - wxCheckBox* _use; + CheckBox* _outline_subtitles = nullptr; + CheckBox* _use; wxChoice* _type; - wxCheckBox* _burn; + CheckBox* _burn; wxStaticText* _offset_label; wxStaticText* _x_offset_label; wxStaticText* _x_offset_pc_label; @@ -100,9 +101,9 @@ private: wxStaticText* _stream_label; wxChoice* _stream; wxButton* _text_view_button; - TextView* _text_view = nullptr; + wx_ptr _text_view; wxButton* _fonts_dialog_button; - FontsDialog* _fonts_dialog = nullptr; + wx_ptr _fonts_dialog; wxButton* _appearance_dialog_button; TextType _original_type; wxStaticText* _language_label = nullptr;