Cleanup: use new CheckBox::bind().
[dcpomatic.git] / src / wx / filter_dialog.cc
index c4317bac1cd871805374a690658c5f2062bcf954..f9ba06eae9b752ff7e98855ed6e55e907b4617f2 100644 (file)
@@ -67,7 +67,7 @@ FilterDialog::FilterDialog (wxWindow* parent, vector<Filter const *> const & act
                        bool const a = find (active.begin(), active.end(), j) != active.end();
                        b->SetValue (a);
                        _filters[j] = b;
-                       b->Bind (wxEVT_CHECKBOX, boost::bind(&FilterDialog::filter_toggled, this));
+                       b->bind(&FilterDialog::filter_toggled, this);
                        sizer->Add (b);
                }