summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-10-22 14:52:57 +0200
committerCarl Hetherington <cth@carlh.net>2025-10-22 21:15:16 +0200
commit05b92f0ff44d9a758de8bbb555dde83351b9133c (patch)
tree546a7969cd43fc136691c659f1eb6b68eb74beeb
parenta28fba01a3c2c508c021c1383db15a4c98c18315 (diff)
Hide some more wxWidgets warnings.
-rw-r--r--src/wx/certificate_chain_editor.h3
-rw-r--r--src/wx/preferences_page.cc3
-rw-r--r--src/wx/wx_variant.h3
3 files changed, 9 insertions, 0 deletions
diff --git a/src/wx/certificate_chain_editor.h b/src/wx/certificate_chain_editor.h
index 56750ee29..c68b1bf3b 100644
--- a/src/wx/certificate_chain_editor.h
+++ b/src/wx/certificate_chain_editor.h
@@ -19,7 +19,10 @@
*/
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
#include <wx/wx.h>
+LIBDCP_ENABLE_WARNINGS
#include <memory>
diff --git a/src/wx/preferences_page.cc b/src/wx/preferences_page.cc
index 2ddd48813..c1762b408 100644
--- a/src/wx/preferences_page.cc
+++ b/src/wx/preferences_page.cc
@@ -21,7 +21,10 @@
#include "preferences_page.h"
#include "lib/config.h"
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
#include <wx/wx.h>
+LIBDCP_ENABLE_WARNINGS
using boost::bind;
diff --git a/src/wx/wx_variant.h b/src/wx/wx_variant.h
index bf2bcaee0..69565f9e9 100644
--- a/src/wx/wx_variant.h
+++ b/src/wx/wx_variant.h
@@ -19,7 +19,10 @@
*/
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
#include <wx/wx.h>
+LIBDCP_ENABLE_WARNINGS
namespace variant {