#pragma hdrstop
#endif
+#if wxUSE_CAIRO
+
// keep cairo.h from defining dllimport as we're defining the symbols inside
// the wx dll in order to load them dynamically.
#define cairo_public
-#include "wx/cairo.h"
+#include <cairo.h>
#include "wx/dynlib.h"
-#if wxUSE_CAIRO
-
#ifdef __WXMSW__
#include "wx/msw/wrapwin.h"
#endif
// implementation of the functions themselves
// ============================================================================
-extern "C"
-{
-
bool wxCairoInit()
{
return wxCairo::Initialize();
}
-void wxCairoCleanUp()
+extern "C"
{
- wxCairo::CleanUp();
-}
#define wxIMPL_CAIRO_FUNC(rettype, name, params, args, defret) \
rettype name params \