summaryrefslogtreecommitdiff
path: root/src/wx/text_panel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/text_panel.cc')
-rw-r--r--src/wx/text_panel.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wx/text_panel.cc b/src/wx/text_panel.cc
index 7c2ddd7f9..68f246913 100644
--- a/src/wx/text_panel.cc
+++ b/src/wx/text_panel.cc
@@ -170,6 +170,8 @@ TextPanel::TextPanel (ContentPanel* p, TextType t)
_y_scale->SetRange (10, 1000);
_line_spacing->SetRange (10, 1000);
+ content_selection_changed ();
+
_reference->Bind (wxEVT_CHECKBOX, boost::bind (&TextPanel::reference_clicked, this));
_use->Bind (wxEVT_CHECKBOX, boost::bind (&TextPanel::use_toggled, this));
_type->Bind (wxEVT_CHOICE, boost::bind (&TextPanel::type_changed, this));