X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fcheck_box.cc;h=710ba6334ff15483b11f6491ff3630b573904c69;hb=00da1e02bb8ebfbc377ad34d9810ef1cd72b9cd0;hp=d41b8a3f1e3a2e261b2d39bbe7eab08810ee8763;hpb=674f59e307919856118d21aa03b53eb6fa82aeb0;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 {