Add get() and bind() to CheckBox.
[dcpomatic.git] / src / wx / check_box.cc
index 710ba6334ff15483b11f6491ff3630b573904c69..baec651c1b8ca58e18ee8c07e10e79958c374571 100644 (file)
@@ -45,3 +45,11 @@ CheckBox::get_text () const
 {
        return GetLabel ();
 }
+
+
+bool
+CheckBox::get() const
+{
+       return GetValue();
+}
+