From 3719227e9e71a78483315f1738b65aae1c28b301 Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Sun, 15 Nov 2009 20:53:31 +0000 Subject: [PATCH] Include wx/display.h last, it needs some values that aren't inited by display.h itself. I'm not sure if this is a bug as a lot of other headers seem to have this problem too. Fixes compilation errors when not using precompiled headers (which loads about 30 headers before this one.) This fixes non-PCH compilation updates #1040 Originally committed to SVN as r3794. --- aegisub/src/dialog_detached_video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/dialog_detached_video.cpp b/aegisub/src/dialog_detached_video.cpp index 0dde7b897..b632208b2 100644 --- a/aegisub/src/dialog_detached_video.cpp +++ b/aegisub/src/dialog_detached_video.cpp @@ -37,9 +37,9 @@ #include "config.h" #ifndef AGI_PRE -#include #include #include +#include /// Must be included last. #endif #include "dialog_detached_video.h"