/*
- Copyright (C) 2018 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2018-2021 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
*/
+
#include "check_box.h"
+
using std::cout;
+
CheckBox::CheckBox (wxWindow* parent, wxString label)
: wxCheckBox (parent, wxID_ANY, label)
- , I18NHook (this)
+ , I18NHook (this, get_text())
{
}
+
void
CheckBox::set_text (wxString text)
{
SetLabel (text);
}
+
wxString
CheckBox::get_text () const
{