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/wx_util.cc | |
| parent | cac2b6f2c8dffcb7271d71fc23c0150c2fe4d6ea (diff) | |
Basics of in-place i18n with support for wxStaticText and wxCheckBox.
Diffstat (limited to 'src/wx/wx_util.cc')
| -rw-r--r-- | src/wx/wx_util.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc index 98d69e0db..354297d49 100644 --- a/src/wx/wx_util.cc +++ b/src/wx/wx_util.cc @@ -24,6 +24,7 @@ #include "wx_util.h" #include "file_picker_ctrl.h" +#include "static_text.h" #include "lib/config.h" #include "lib/job_manager.h" #include "lib/util.h" @@ -55,7 +56,7 @@ create_label (wxWindow* p, wxString t, bool) t += wxT (":"); } #endif - return new wxStaticText (p, wxID_ANY, t); + return new StaticText (p, t); } /** Add a wxStaticText to a wxSizer, aligning it at vertical centre. |
