projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add get() and bind() to CheckBox.
[dcpomatic.git]
/
src
/
wx
/
check_box.cc
diff --git
a/src/wx/check_box.cc
b/src/wx/check_box.cc
index 710ba6334ff15483b11f6491ff3630b573904c69..baec651c1b8ca58e18ee8c07e10e79958c374571 100644
(file)
--- a/
src/wx/check_box.cc
+++ b/
src/wx/check_box.cc
@@
-45,3
+45,11
@@
CheckBox::get_text () const
{
return GetLabel ();
}
+
+
+bool
+CheckBox::get() const
+{
+ return GetValue();
+}
+