diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-12-08 00:09:57 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-12-08 00:09:57 +0000 |
| commit | 9c1bb2e5ca7c80c4e26b1b2e41159aa171360a94 (patch) | |
| tree | 674348c2090d46047c62ad6e1fdbb3a0b5c32896 /src/wx/initial_setup_dialog.cc | |
| parent | cac2b6f2c8dffcb7271d71fc23c0150c2fe4d6ea (diff) | |
Basics of in-place i18n with support for wxStaticText and wxCheckBox.
Diffstat (limited to 'src/wx/initial_setup_dialog.cc')
| -rw-r--r-- | src/wx/initial_setup_dialog.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wx/initial_setup_dialog.cc b/src/wx/initial_setup_dialog.cc index ac6f918a0..0d04c5002 100644 --- a/src/wx/initial_setup_dialog.cc +++ b/src/wx/initial_setup_dialog.cc @@ -19,6 +19,7 @@ */ #include "initial_setup_dialog.h" +#include "static_text.h" #include "lib/config.h" #include <boost/bind.hpp> @@ -26,7 +27,7 @@ InitialSetupDialog::InitialSetupDialog () : wxDialog (0, wxID_ANY, _("DCP-o-matic setup")) { wxBoxSizer* sizer = new wxBoxSizer (wxVERTICAL); - wxStaticText* text1 = new wxStaticText (this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize(600, -1)); + wxStaticText* text1 = new StaticText (this, wxEmptyString, wxDefaultPosition, wxSize(600, -1)); sizer->Add (text1, 1, wxEXPAND | wxALL, 12); text1->SetLabelMarkup ( @@ -55,7 +56,7 @@ InitialSetupDialog::InitialSetupDialog () _full->SetValue (true); } - wxStaticText* text2 = new wxStaticText (this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize(400, -1)); + wxStaticText* text2 = new StaticText (this, wxEmptyString, wxDefaultPosition, wxSize(400, -1)); sizer->Add (text2, 0, wxEXPAND | wxALL, 12); text2->SetLabelMarkup (_("\nYou can change the mode at any time from the General page of Preferences.")); |
