X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fcheck_box.cc;h=710ba6334ff15483b11f6491ff3630b573904c69;hb=b539d468acc3ca73cc58a4434002e511a4995f7d;hp=d41b8a3f1e3a2e261b2d39bbe7eab08810ee8763;hpb=4a2efeb3c35babad46eebfbb56fa9a0a7c215d3b;p=dcpomatic.git 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 + Copyright (C) 2018-2021 Carl Hetherington 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 {