projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix extra widgets appearing when switching between subs and closed captions in the...
[dcpomatic.git]
/
src
/
wx
/
language_tag_widget.cc
diff --git
a/src/wx/language_tag_widget.cc
b/src/wx/language_tag_widget.cc
index 1a6f3fabc219dd799a137ed4873c154c9c7c91a0..88923da15c87b7a29340dd02c0483766ec5ef4e4 100644
(file)
--- a/
src/wx/language_tag_widget.cc
+++ b/
src/wx/language_tag_widget.cc
@@
-57,6
+57,13
@@
LanguageTagWidget::LanguageTagWidget (wxWindow* parent, wxString tooltip, option
}
+LanguageTagWidget::~LanguageTagWidget()
+{
+ _language->Destroy();
+ _edit->Destroy();
+}
+
+
void
LanguageTagWidget::edit ()
{