X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fscreen_dialog.cc;h=38e6a85bfff392c885a6c9d0869cfe664480484a;hb=34eb57979b5293ac3b864310f8fc8c77c26343e2;hp=af5e25f476ba19d1998f2561b7c909df439e9b51;hpb=2fd641547b5fb795fc17e98e47f489fa82e8ff42;p=dcpomatic.git diff --git a/src/wx/screen_dialog.cc b/src/wx/screen_dialog.cc index af5e25f47..38e6a85bf 100644 --- a/src/wx/screen_dialog.cc +++ b/src/wx/screen_dialog.cc @@ -21,20 +21,19 @@ #include "dcpomatic_button.h" #include "download_certificate_dialog.h" -#include "file_dialog_wrapper.h" #include "screen_dialog.h" #include "static_text.h" #include "table_dialog.h" #include "wx_util.h" #include "lib/compose.hpp" #include "lib/util.h" -#include "lib/warnings.h" +#include #include #include -DCPOMATIC_DISABLE_WARNINGS +LIBDCP_DISABLE_WARNINGS #include #include -DCPOMATIC_ENABLE_WARNINGS +LIBDCP_ENABLE_WARNINGS #include @@ -179,7 +178,8 @@ ScreenDialog::ScreenDialog ( [] (TrustedDevice const& d, int) { return d.thumbprint(); }, - false + EditableListTitle::INVISIBLE, + EditableListButton::NEW | EditableListButton::EDIT | EditableListButton::REMOVE ); _sizer->Add (_trusted_device_list, wxGBPosition (r, 0), wxGBSpan (1, 3), wxEXPAND);