X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fcontent_sub_panel.cc;fp=src%2Fwx%2Fcontent_sub_panel.cc;h=a30d3cfce061155bb7fb5ee6c72e183f7649b7ed;hb=bfc79f85fa979a9c3b0f17f2040e0ae0181cb733;hp=a60a657073ae2be6d65c2b61a07d330acc1780db;hpb=78e3f86292c133a96fd39842913674c27be059e4;p=dcpomatic.git diff --git a/src/wx/content_sub_panel.cc b/src/wx/content_sub_panel.cc index a60a65707..a30d3cfce 100644 --- a/src/wx/content_sub_panel.cc +++ b/src/wx/content_sub_panel.cc @@ -37,7 +37,6 @@ ContentSubPanel::ContentSubPanel (ContentPanel* p, wxString name) , _sizer (new wxBoxSizer (wxVERTICAL)) , _name (name) { - p->notebook()->AddPage (this, _name, false); SetScrollRate (-1, 8); SetSizer (_sizer); }