Ignore wxWidgets warnings in a nicer way.
[dcpomatic.git] / src / wx / wx_util.h
index af938b670f54121b9d478fe9f4546c3a69d370e7..294c661a87dbed0fe88d59519f16cd872c0e0e7c 100644 (file)
 #define DCPOMATIC_WX_UTIL_H
 
 #include "lib/dcpomatic_time.h"
+#include "lib/warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
 #include <wx/wx.h>
+DCPOMATIC_ENABLE_WARNINGS
 #include <wx/gbsizer.h>
 #include <boost/function.hpp>
 #include <boost/thread.hpp>