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.
This commit is contained in:
Amar Takhar 2009-11-15 20:53:31 +00:00
parent 3c11e2831e
commit 3719227e9e
1 changed files with 1 additions and 1 deletions

View File

@ -37,9 +37,9 @@
#include "config.h"
#ifndef AGI_PRE
#include <wx/display.h>
#include <wx/filename.h>
#include <wx/settings.h>
#include <wx/display.h> /// Must be included last.
#endif
#include "dialog_detached_video.h"