diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-08-19 14:01:14 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-08-19 14:01:14 +0100 |
| commit | 7d81ed516d246b5d1387f5bf1019237c5c7a8d2b (patch) | |
| tree | 1cb650da7e385dc0869518376e9bbfc8ead90e87 /src/wx/text_panel.cc | |
| parent | f217913a609e67f3dd0b804e2b961dcbd8556e63 (diff) | |
Update new panels when they are created.
Diffstat (limited to 'src/wx/text_panel.cc')
| -rw-r--r-- | src/wx/text_panel.cc | 2 |
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)); |
