summaryrefslogtreecommitdiff
path: root/src/wx/gl_video_view.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-08-08 18:11:11 +0200
committerCarl Hetherington <cth@carlh.net>2023-08-09 10:18:46 +0200
commita3c1ae7c2e46b65347341896b3d1a505ff92632b (patch)
tree2b096eb0676f52c9989952e341f2bd98143ce125 /src/wx/gl_video_view.h
parentaf5b9dfadf8989311cd5f78554349f0283912522 (diff)
Extract Film::Property to its own header to (maybe) increase compilation speed.
Diffstat (limited to 'src/wx/gl_video_view.h')
-rw-r--r--src/wx/gl_video_view.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/wx/gl_video_view.h b/src/wx/gl_video_view.h
index 964f6f1ab..69de7b76f 100644
--- a/src/wx/gl_video_view.h
+++ b/src/wx/gl_video_view.h
@@ -25,6 +25,10 @@ LIBDCP_DISABLE_WARNINGS
#include <wx/wx.h>
LIBDCP_ENABLE_WARNINGS
+#undef None
+#undef Success
+#undef Status
+
/* The OpenGL API in wxWidgets 3.0.x is sufficiently different to make it awkward to support,
* and I think it may even have things missing that we require (e.g. the attributes parameter
@@ -34,6 +38,7 @@ LIBDCP_ENABLE_WARNINGS
*/
#if wxCHECK_VERSION(3,1,0)
+
#include "video_view.h"
#include "lib/signaller.h"
#include "lib/position.h"
@@ -41,9 +46,6 @@ LIBDCP_ENABLE_WARNINGS
#include <boost/atomic.hpp>
#include <boost/thread.hpp>
#include <boost/thread/condition.hpp>
-#undef None
-#undef Success
-#undef Status
class Texture