Use libdcp's warnings.h
[dcpomatic.git] / src / wx / dcpomatic_spin_ctrl.cc
index 7d39721514f14ee8486faf62a9aa37edbca74ebe..70bd7e3f768e00033c6b7824f5d8d96694ae549d 100644 (file)
 
 
 #include "dcpomatic_spin_ctrl.h"
-#include "lib/warnings.h"
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
+#include <wx/wx.h>
+LIBDCP_ENABLE_WARNINGS
 #include <boost/bind/bind.hpp>
 #include <boost/version.hpp>
-DCPOMATIC_DISABLE_WARNINGS
-#include <wx/wx.h>
-DCPOMATIC_ENABLE_WARNINGS
 
 
 #if BOOST_VERSION >= 106100