summaryrefslogtreecommitdiff
path: root/src/wx/content_sub_panel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-07-22 00:41:03 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-22 00:41:03 +0100
commitdea824f6ff41384a5e17e23de5434cf84eccff29 (patch)
treea40207882d506417cb5f456135b9ba4394535d00 /src/wx/content_sub_panel.cc
parent9cbe57dda759fccfa9dec8a0820114d7d8583a36 (diff)
Display only required tabs, including subs / ccap.
Diffstat (limited to 'src/wx/content_sub_panel.cc')
-rw-r--r--src/wx/content_sub_panel.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/content_sub_panel.cc b/src/wx/content_sub_panel.cc
index 93296d5b9..a60a65707 100644
--- a/src/wx/content_sub_panel.cc
+++ b/src/wx/content_sub_panel.cc
@@ -35,8 +35,9 @@ ContentSubPanel::ContentSubPanel (ContentPanel* p, wxString name)
: wxScrolledWindow (p->notebook(), wxID_ANY)
, _parent (p)
, _sizer (new wxBoxSizer (wxVERTICAL))
+ , _name (name)
{
- p->notebook()->AddPage (this, name, false);
+ p->notebook()->AddPage (this, _name, false);
SetScrollRate (-1, 8);
SetSizer (_sizer);
}