Stop using static initialisation so that dcpomatic::write() can be called more than...
[dcpomatic.git] / src / wx / screen_dialog.cc
index ecac974e2dc5aa0cacdbebbfe9f17df2f9600283..58ea8a3285119a184a2d9441a30a081c25bd44d6 100644 (file)
 #include "wx_util.h"
 #include "lib/compose.hpp"
 #include "lib/util.h"
-#include "lib/warnings.h"
+#include <dcp/warnings.h>
 #include <dcp/exceptions.h>
 #include <dcp/certificate_chain.h>
-DCPOMATIC_DISABLE_WARNINGS
+LIBDCP_DISABLE_WARNINGS
 #include <wx/filepicker.h>
 #include <wx/validate.h>
-DCPOMATIC_ENABLE_WARNINGS
+LIBDCP_ENABLE_WARNINGS
 #include <iostream>
 
 
@@ -178,6 +178,7 @@ ScreenDialog::ScreenDialog (
                [] (TrustedDevice const& d, int) {
                        return d.thumbprint();
                },
+               EditableListButton::NEW | EditableListButton::EDIT | EditableListButton::REMOVE,
                false
                );