Hide warnings triggered by Ubuntu 20.04's gcc.
[dcpomatic.git] / src / wx / dir_picker_ctrl.cc
index b05e73273d99d0703379ff109b5c1e70f200b9cf..289316820a3aa8bd2d806220b85546fcdff7297f 100644 (file)
 #include "wx_util.h"
 #include "static_text.h"
 #include "dcpomatic_button.h"
+#include "lib/warnings.h"
 #include <wx/wx.h>
 #include <wx/stdpaths.h>
+DCPOMATIC_DISABLE_WARNINGS
 #include <wx/filepicker.h>
+DCPOMATIC_ENABLE_WARNINGS
 #include <boost/filesystem.hpp>
 
 using namespace std;