It seems wrong to Destroy() these widgets as I think the parent will do it.
[dcpomatic.git] / src / wx / region_subtag_widget.cc
index 54c6d9d4303f98f082c52d20659a0c9b71259cfc..1132410ddb68cad3b6a629e54c7918bddbb72cd6 100644 (file)
@@ -58,13 +58,6 @@ RegionSubtagWidget::RegionSubtagWidget(wxWindow* parent, wxString tooltip, optio
 }
 
 
-RegionSubtagWidget::~RegionSubtagWidget()
-{
-       _region->Destroy();
-       _edit->Destroy();
-}
-
-
 void
 RegionSubtagWidget::edit()
 {