git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41618
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
+#if wxUSE_GRAPHICS_CONTEXT
+
#include <vector>
using namespace std;
#include <vector>
using namespace std;
wxGraphicsContext* wxGraphicsContext::Create( const wxWindowDC& dc )
{
return new wxCairoContext(dc);
wxGraphicsContext* wxGraphicsContext::Create( const wxWindowDC& dc )
{
return new wxCairoContext(dc);
-}
\ No newline at end of file
+}
+
+#endif // wxUSE_GRAPHICS_CONTEXT
+#if wxUSE_GRAPHICS_CONTEXT
+
#include <vector>
using namespace std;
#include <vector>
using namespace std;
{
return new wxGDIPlusContext( (HDC) dc.GetHDC() );
}
{
return new wxGDIPlusContext( (HDC) dc.GetHDC() );
}
+
+
+#endif // wxUSE_GRAPHICS_CONTEXT