diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-02-01 23:58:04 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-02-01 23:58:04 +0100 |
| commit | b539d468acc3ca73cc58a4434002e511a4995f7d (patch) | |
| tree | 0b87689706f9248853b62179195fa881d17730b0 /src/wx/check_box.cc | |
| parent | 4a2efeb3c35babad46eebfbb56fa9a0a7c215d3b (diff) | |
C++11 tidying.
Diffstat (limited to 'src/wx/check_box.cc')
| -rw-r--r-- | src/wx/check_box.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/wx/check_box.cc b/src/wx/check_box.cc index d41b8a3f1..710ba6334 100644 --- a/src/wx/check_box.cc +++ b/src/wx/check_box.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2018-2019 Carl Hetherington <cth@carlh.net> + Copyright (C) 2018-2021 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -18,10 +18,13 @@ */ + #include "check_box.h" + using std::cout; + CheckBox::CheckBox (wxWindow* parent, wxString label) : wxCheckBox (parent, wxID_ANY, label) , I18NHook (this, get_text()) @@ -29,12 +32,14 @@ CheckBox::CheckBox (wxWindow* parent, wxString label) } + void CheckBox::set_text (wxString text) { SetLabel (text); } + wxString CheckBox::get_text () const { |
