summaryrefslogtreecommitdiff
path: root/src/wx/content_sub_panel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/content_sub_panel.cc')
-rw-r--r--src/wx/content_sub_panel.cc1
1 files changed, 0 insertions, 1 deletions
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);
}