projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup variable name: l -> caption
[dcpomatic.git]
/
src
/
wx
/
check_box.cc
diff --git
a/src/wx/check_box.cc
b/src/wx/check_box.cc
index d41b8a3f1e3a2e261b2d39bbe7eab08810ee8763..710ba6334ff15483b11f6491ff3630b573904c69 100644
(file)
--- a/
src/wx/check_box.cc
+++ b/
src/wx/check_box.cc
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2018-20
19
Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2018-20
21
Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
This file is part of DCP-o-matic.
@@
-18,10
+18,13
@@
*/
*/
+
#include "check_box.h"
#include "check_box.h"
+
using std::cout;
using std::cout;
+
CheckBox::CheckBox (wxWindow* parent, wxString label)
: wxCheckBox (parent, wxID_ANY, label)
, I18NHook (this, get_text())
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);
}
void
CheckBox::set_text (wxString text)
{
SetLabel (text);
}
+
wxString
CheckBox::get_text () const
{
wxString
CheckBox::get_text () const
{