Cleanup: use new CheckBox::bind().
[dcpomatic.git] / src / wx / markers_dialog.cc
index 9c9850af00839d30e1d1ed930fbc6b02cc0c9e44..cc254b2a1edada6ed9157756b920ac6008816b32 100644 (file)
@@ -71,7 +71,7 @@ public:
                set_sensitivity ();
 
                set_button->Bind (wxEVT_BUTTON, bind(&Marker::set, this));
-               checkbox->Bind (wxEVT_CHECKBOX, bind(&Marker::checkbox_clicked, this));
+               checkbox->bind(&Marker::checkbox_clicked, this);
                timecode->Changed.connect (bind(&Marker::changed, this));
        }