X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fscreen_dialog.cc;h=7f309ba66aae9862bce0cae550c3b22fe8575e97;hb=5000e8b9dfe2807926e8fe1cb2dfc42ca319c7f6;hp=6bfc0da4cbd15816fcaca9203aa4279b08a768fc;hpb=8b2a3f31b6b4238d8534549f495e7276174ddfba;p=dcpomatic.git diff --git a/src/wx/screen_dialog.cc b/src/wx/screen_dialog.cc index 6bfc0da4c..7f309ba66 100644 --- a/src/wx/screen_dialog.cc +++ b/src/wx/screen_dialog.cc @@ -27,10 +27,13 @@ #include "dcpomatic_button.h" #include "lib/compose.hpp" #include "lib/util.h" +#include "lib/warnings.h" #include #include +DCPOMATIC_DISABLE_WARNINGS #include #include +DCPOMATIC_ENABLE_WARNINGS #include using std::string; @@ -38,6 +41,9 @@ using std::cout; using std::vector; using boost::optional; using boost::bind; +#if BOOST_VERSION >= 106100 +using namespace boost::placeholders; +#endif static string column (TrustedDevice d) @@ -142,8 +148,8 @@ ScreenDialog::ScreenDialog ( add_label_to_sizer (_sizer, this, _("Other trusted devices"), true, wxGBPosition (r, 0)); ++r; - vector columns; - columns.push_back (wx_to_std (_("Thumbprint"))); + vector columns; + columns.push_back (EditableListColumn(_("Thumbprint"))); _trusted_device_list = new EditableList ( this, columns,