summaryrefslogtreecommitdiff
path: root/src/wx/content_sub_panel.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-07-27 01:35:57 +0200
committerCarl Hetherington <cth@carlh.net>2020-07-27 10:05:45 +0200
commitc622a06189181a3a6ad356094c9a3cf4e1f5a722 (patch)
treeb9897abab9e7ea9d06134b15c7befc8aebbfa249 /src/wx/content_sub_panel.h
parent7555175e605aab5567020ce48b00bfa6f4d2b726 (diff)
Hide warnings triggered by Ubuntu 20.04's gcc.
Diffstat (limited to 'src/wx/content_sub_panel.h')
-rw-r--r--src/wx/content_sub_panel.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/wx/content_sub_panel.h b/src/wx/content_sub_panel.h
index d5f502eea..128a3862d 100644
--- a/src/wx/content_sub_panel.h
+++ b/src/wx/content_sub_panel.h
@@ -21,10 +21,13 @@
#ifndef DCPOMATIC_CONTENT_SUB_PANEL_H
#define DCPOMATIC_CONTENT_SUB_PANEL_H
-#include <boost/shared_ptr.hpp>
-#include <wx/wx.h>
#include "lib/film.h"
#include "lib/config.h"
+#include "lib/warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
+#include <wx/wx.h>
+DCPOMATIC_ENABLE_WARNINGS
+#include <boost/shared_ptr.hpp>
class ContentPanel;
class Content;