Cleanup: auto.
[dcpomatic.git] / src / wx / export_subtitles_dialog.cc
index cb9629a1863945f7c6d69290f89c35fd534c0b2f..3c32fae536f900ef1934da7c7e80ae24cd48e765 100644 (file)
@@ -65,8 +65,8 @@ ExportSubtitlesDialog::ExportSubtitlesDialog (wxWindow* parent, int reels, bool
        _dir = new DirPickerCtrl (this);
        add (_dir);
 
-       _split_reels->Bind (wxEVT_CHECKBOX, bind(&ExportSubtitlesDialog::setup_sensitivity, this));
-       _include_font->Bind (wxEVT_CHECKBOX, bind(&ExportSubtitlesDialog::setup_sensitivity, this));
+       _split_reels->bind(&ExportSubtitlesDialog::setup_sensitivity, this);
+       _include_font->bind(&ExportSubtitlesDialog::setup_sensitivity, this);
        _file->Bind (wxEVT_FILEPICKER_CHANGED, bind(&ExportSubtitlesDialog::setup_sensitivity, this));
        _dir->Bind (wxEVT_DIRPICKER_CHANGED, bind(&ExportSubtitlesDialog::setup_sensitivity, this));