Improve the appearance of things in macOS dark mode in various ways.
[dcpomatic.git] / src / wx / colour_conversion_editor.cc
index 908968712131848a73c7ae571c967de7b7acaebf..4cc9aaa9e9899011a7df692826c21c49c6a1a743 100644 (file)
 #include <dcp/locale_convert.h>
 #include <dcp/modified_gamma_transfer_function.h>
 #include <dcp/s_gamut3_transfer_function.h>
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
 #include <wx/gbsizer.h>
 #include <wx/numformatter.h>
 #include <wx/spinctrl.h>
+LIBDCP_ENABLE_WARNINGS
 
 
 using std::dynamic_pointer_cast;
@@ -115,6 +118,7 @@ ColourConversionEditor::ColourConversionEditor (wxWindow* parent, bool yuv)
        _yuv_to_rgb = new wxChoice (this, wxID_ANY);
        _yuv_to_rgb->Append (_("Rec. 601"));
        _yuv_to_rgb->Append (_("Rec. 709"));
+       _yuv_to_rgb->Append (_("Rec. 2020"));
        table->Add (_yuv_to_rgb, wxGBPosition (r, 1));
        ++r;