X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fwx%2Fcontent_sub_panel.cc;h=781d3b3309b64cc35fb611fd11bbc2423bc560bf;hb=00b4448859226420bafd83f28fb5a1a0f2a13e26;hp=674b3036976b2f68855739955d725fec6fa5e45c;hpb=f8e6fdee828647bc5a6a1cc7627052a072a37dc6;p=dcpomatic.git diff --git a/src/wx/content_sub_panel.cc b/src/wx/content_sub_panel.cc index 674b30369..781d3b330 100644 --- a/src/wx/content_sub_panel.cc +++ b/src/wx/content_sub_panel.cc @@ -32,11 +32,12 @@ using std::string; using boost::shared_ptr; ContentSubPanel::ContentSubPanel (ContentPanel* p, wxString name) - : wxPanel (p->notebook(), wxID_ANY) + : wxScrolledWindow (p->notebook(), wxID_ANY) , _parent (p) , _sizer (new wxBoxSizer (wxVERTICAL)) { p->notebook()->AddPage (this, name, false); + SetScrollRate (-1, 8); SetSizer (_sizer); }