summaryrefslogtreecommitdiff
path: root/src/wx/kdm_output_panel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-11-02 00:18:56 +0100
committerCarl Hetherington <cth@carlh.net>2022-11-02 01:17:53 +0100
commitb39dbb7cf1b0352cf0eb3af4bf4929556355bff5 (patch)
treee679b163406b863dbbc04c4635393973b33929ec /src/wx/kdm_output_panel.cc
parent9c6d757fc6ff188521719cad9bf2cd494bb4edd8 (diff)
Cleanup: use new CheckBox::bind().
Diffstat (limited to 'src/wx/kdm_output_panel.cc')
-rw-r--r--src/wx/kdm_output_panel.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/kdm_output_panel.cc b/src/wx/kdm_output_panel.cc
index 75971c14b..96b97b163 100644
--- a/src/wx/kdm_output_panel.cc
+++ b/src/wx/kdm_output_panel.cc
@@ -155,8 +155,8 @@ KDMOutputPanel::KDMOutputPanel (wxWindow* parent)
_write_to->SetValue (Config::instance()->write_kdms_to_disk());
_email->SetValue (Config::instance()->email_kdms());
- _write_to->Bind (wxEVT_CHECKBOX, boost::bind (&KDMOutputPanel::write_to_changed, this));
- _email->Bind (wxEVT_CHECKBOX, boost::bind (&KDMOutputPanel::email_changed, this));
+ _write_to->bind(&KDMOutputPanel::write_to_changed, this);
+ _email->bind(&KDMOutputPanel::email_changed, this);
add_email_addresses->Bind (wxEVT_BUTTON, boost::bind(&KDMOutputPanel::add_email_addresses_clicked, this));
_write_flat->Bind (wxEVT_RADIOBUTTON, boost::bind (&KDMOutputPanel::kdm_write_type_changed, this));
_write_folder->Bind (wxEVT_RADIOBUTTON, boost::bind (&KDMOutputPanel::kdm_write_type_changed, this));