Cleanup: use new CheckBox::bind().
[dcpomatic.git] / src / wx / content_colour_conversion_dialog.cc
index 5b5a1983c167b30d95f28a6be3db797315a689a6..00700b72e75addf587376d381f3dd6656baa2881 100644 (file)
@@ -63,7 +63,7 @@ ContentColourConversionDialog::ContentColourConversionDialog (wxWindow* parent,
        overall_sizer->Layout ();
        overall_sizer->SetSizeHints (this);
 
-       _preset_check->Bind (wxEVT_CHECKBOX, boost::bind (&ContentColourConversionDialog::preset_check_clicked, this));
+       _preset_check->bind(&ContentColourConversionDialog::preset_check_clicked, this);
        _preset_choice->Bind (wxEVT_CHOICE, boost::bind (&ContentColourConversionDialog::preset_choice_changed, this));
 
        _editor_connection = _editor->Changed.connect (boost::bind (&ContentColourConversionDialog::check_for_preset, this));