X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fwx%2Fcontent_colour_conversion_dialog.cc;h=00700b72e75addf587376d381f3dd6656baa2881;hb=dbcd1675732d59f6337f7f60d0a39aaa6a1aa3a6;hp=b970618a7b973126311be88ce30ab4392c5dcf6a;hpb=5d838bc863a7569e68546026c109607fd5a94362;p=dcpomatic.git diff --git a/src/wx/content_colour_conversion_dialog.cc b/src/wx/content_colour_conversion_dialog.cc index b970618a7..00700b72e 100644 --- a/src/wx/content_colour_conversion_dialog.cc +++ b/src/wx/content_colour_conversion_dialog.cc @@ -26,11 +26,12 @@ #include "lib/colour_conversion.h" #include "lib/config.h" #include "lib/util.h" +#include +LIBDCP_DISABLE_WARNINGS #include -#include +LIBDCP_ENABLE_WARNINGS -using std::cout; using std::string; using std::vector; using boost::optional; @@ -62,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));