Fix build failures on some platforms after 7be75892.

Add header files to have full declarations of wxMemoryDC and wxMetafileDC which are apparently necessary on some platforms for wxDynamicCast.
This commit is contained in:
Artur Wieczorek
2015-11-28 22:42:48 +01:00
parent 7be75892a3
commit 0d30db33e1

View File

@@ -75,6 +75,10 @@
#if wxPG_USE_GC_FOR_ALPHA
#include "wx/dcgraph.h"
#include "wx/dcmemory.h" // for wxDynamicCast purposes
#if wxUSE_METAFILE
#include "wx/metafile.h" // for wxDynamicCast purposes
#endif // wxUSE_METAFILE
#endif // wxPG_USE_GC_FOR_ALPHA
// -----------------------------------------------------------------------