diff options
Diffstat (limited to 'src/wx/check_box.h')
| -rw-r--r-- | src/wx/check_box.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wx/check_box.h b/src/wx/check_box.h index 6e54ef411..4b3fddb9f 100644 --- a/src/wx/check_box.h +++ b/src/wx/check_box.h @@ -28,6 +28,7 @@ LIBDCP_DISABLE_WARNINGS #include <wx/wx.h> LIBDCP_ENABLE_WARNINGS +#include <boost/bind/bind.hpp> class CheckBox : public wxCheckBox, public I18NHook @@ -37,6 +38,12 @@ public: void set_text (wxString text) override; wxString get_text () const override; + bool get() const; + + template <typename... Args> + void bind(Args... args) { + Bind(wxEVT_CHECKBOX, boost::bind(std::forward<Args>(args)...)); + } }; |
