Wrap module in #if wxUSE_GRAPHICS_CONTEXT

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-10-03 21:56:07 +00:00
parent 38af4365b3
commit 7ba86d938d
2 changed files with 10 additions and 1 deletions

View File

@@ -37,6 +37,8 @@
#include "wx/graphics.h"
#if wxUSE_GRAPHICS_CONTEXT
#include <vector>
using namespace std;
@@ -865,4 +867,6 @@ void wxCairoContext::SetFont( const wxFont &font )
wxGraphicsContext* wxGraphicsContext::Create( const wxWindowDC& dc )
{
return new wxCairoContext(dc);
}
}
#endif // wxUSE_GRAPHICS_CONTEXT