X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ffilter_dialog.cc;h=13907ae0cb9c468b63b88715b29d2f7ece4a6d46;hb=eba0d9ca54fcfd269e61ab7b47d2e741735f6f3e;hp=028d082b4f8f6deadde30a1d84c1056e4fc6bdf2;hpb=7333d9ee1ff505cbd635cbca23c83656a705a4a4;p=dcpomatic.git diff --git a/src/wx/filter_dialog.cc b/src/wx/filter_dialog.cc index 028d082b4..13907ae0c 100644 --- a/src/wx/filter_dialog.cc +++ b/src/wx/filter_dialog.cc @@ -23,18 +23,19 @@ #include "lib/film.h" #include "filter_dialog.h" -#include "filter_view.h" +#include "filter_editor.h" using namespace std; +using boost::bind; FilterDialog::FilterDialog (wxWindow* parent, vector const & f) : wxDialog (parent, wxID_ANY, wxString (_("Filters"))) - , _filters (new FilterView (this, f)) + , _filters (new FilterEditor (this, f)) { wxBoxSizer* sizer = new wxBoxSizer (wxVERTICAL); sizer->Add (_filters, 1, wxEXPAND | wxALL, 6); - _filters->ActiveChanged.connect (sigc::mem_fun (*this, &FilterDialog::active_changed)); + _filters->ActiveChanged.connect (bind (&FilterDialog::active_changed, this)); wxSizer* buttons = CreateSeparatedButtonSizer (wxOK); if (buttons) {