X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fwx%2Ffilter_editor.cc;h=d70402b5f68c2aaf94ef597b9d9a234215c112f5;hb=f9495d05657dc1a163cf195bd839e3497fb30b33;hp=6b5b8505e465c4558572995327a2653408525169;hpb=e60bb3e51bd1508b149e6b8f6608f09b5196ae26;p=dcpomatic.git diff --git a/src/wx/filter_editor.cc b/src/wx/filter_editor.cc index 6b5b8505e..d70402b5f 100644 --- a/src/wx/filter_editor.cc +++ b/src/wx/filter_editor.cc @@ -1,19 +1,20 @@ /* Copyright (C) 2012 Carl Hetherington - This program is free software; you can redistribute it and/or modify + This file is part of DCP-o-matic. + + DCP-o-matic is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - This program is distributed in the hope that it will be useful, + DCP-o-matic is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + along with DCP-o-matic. If not, see . */ @@ -64,7 +65,7 @@ FilterEditor::FilterEditor (wxWindow* parent, vector const & act bool const a = find (active.begin(), active.end(), *j) != active.end (); b->SetValue (a); _filters[*j] = b; - b->Bind (wxEVT_COMMAND_CHECKBOX_CLICKED, boost::bind (&FilterEditor::filter_toggled, this)); + b->Bind (wxEVT_CHECKBOX, boost::bind (&FilterEditor::filter_toggled, this)); sizer->Add (b); }