#pragma hdrstop
#endif
-#include "wx/cairo.h"
+#if wxUSE_GRAPHICS_CONTEXT
+
#include "wx/graphics.h"
-#if wxUSE_GRAPHICS_CONTEXT && wxUSE_CAIRO
+#if wxUSE_CAIRO
+
+#include "wx/cairo.h"
#ifndef WX_PRECOMP
#include "wx/bitmap.h"
return wxNullGraphicsBitmap;
}
-#endif // wxUSE_GRAPHICS_CONTEXT && wxUSE_CAIRO
+#endif // wxUSE_CAIRO
-#if wxUSE_GRAPHICS_CONTEXT
wxGraphicsRenderer* wxGraphicsRenderer::GetCairoRenderer()
{
#if wxUSE_CAIRO
return NULL;
#endif
}
-#endif
+
+#endif // wxUSE_GRAPHICS_CONTEXT