X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fsmpte_metadata_dialog.cc;h=3838c8a6c06e7cfcfd84cbf08f09816b4bc776b6;hb=5c86ef0c95903d64cefe93940534c3672cdce68d;hp=e4d2d96224a9a4cd02a468417d1c5f80b2aa6b98;hpb=0aabb6497979e2df9731f8753645149d85c02bc8;p=dcpomatic.git diff --git a/src/wx/smpte_metadata_dialog.cc b/src/wx/smpte_metadata_dialog.cc index e4d2d9622..3838c8a6c 100644 --- a/src/wx/smpte_metadata_dialog.cc +++ b/src/wx/smpte_metadata_dialog.cc @@ -23,19 +23,22 @@ #include "editable_list.h" #include "language_tag_dialog.h" #include "language_tag_widget.h" -#include "smpte_metadata_dialog.h" #include "rating_dialog.h" +#include "smpte_metadata_dialog.h" #include "lib/film.h" #include +#include +LIBDCP_DISABLE_WARNINGS #include #include +LIBDCP_ENABLE_WARNINGS +using std::shared_ptr; using std::string; using std::vector; -using boost::optional; -using std::shared_ptr; using std::weak_ptr; +using boost::optional; #if BOOST_VERSION >= 106100 using namespace boost::placeholders; #endif @@ -91,7 +94,7 @@ SMPTEMetadataDialog::setup_standard (wxPanel* panel, wxSizer* sizer) boost::bind(&SMPTEMetadataDialog::set_ratings, this, _1), boost::bind(&ratings_column, _1, _2), true, - false + EditableListButton::NEW | EditableListButton::EDIT | EditableListButton::REMOVE ); sizer->Add (_ratings, 1, wxEXPAND); }