diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/content_sub_panel.cc | 3 | ||||
| -rw-r--r-- | src/wx/content_sub_panel.h | 2 |
2 files changed, 3 insertions, 2 deletions
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); } diff --git a/src/wx/content_sub_panel.h b/src/wx/content_sub_panel.h index 540ccb240..44d5ee1a5 100644 --- a/src/wx/content_sub_panel.h +++ b/src/wx/content_sub_panel.h @@ -29,7 +29,7 @@ class ContentPanel; class Content; class DCPContent; -class ContentSubPanel : public wxPanel +class ContentSubPanel : public wxScrolledWindow { public: ContentSubPanel (ContentPanel *, wxString); |
