summaryrefslogtreecommitdiff
path: root/src/wx/text_panel.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-08-12 22:03:11 +0200
committerCarl Hetherington <cth@carlh.net>2021-08-12 23:18:53 +0200
commit19e47294d1de485a12dccf2c25bec0c8144049e8 (patch)
tree6dfdfc46bf6fbf4514e0ec303d094dc03992a16f /src/wx/text_panel.h
parent423996af81218d48dbeaccef52ff822e02c43128 (diff)
Fix flickering black square when selecting content on Windows (#1866).
Diffstat (limited to 'src/wx/text_panel.h')
-rw-r--r--src/wx/text_panel.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/wx/text_panel.h b/src/wx/text_panel.h
index c76449513..c4498f970 100644
--- a/src/wx/text_panel.h
+++ b/src/wx/text_panel.h
@@ -36,9 +36,10 @@ class TextPanel : public ContentSubPanel
public:
TextPanel (ContentPanel *, TextType t);
- void film_changed (Film::Property);
- void film_content_changed (int);
- void content_selection_changed ();
+ void create () override;
+ void film_changed (Film::Property) override;
+ void film_content_changed (int) override;
+ void content_selection_changed () override;
private:
void use_toggled ();
@@ -59,7 +60,7 @@ private:
TextType current_type () const;
void update_dcp_tracks ();
void update_dcp_track_selection ();
- void add_to_grid ();
+ void add_to_grid () override;
void try_to_load_analysis ();
void analysis_finished ();
void language_changed ();