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:
parent
38af4365b3
commit
7ba86d938d
@ -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
|
||||
|
@ -38,6 +38,8 @@
|
||||
|
||||
#include "wx/graphics.h"
|
||||
|
||||
#if wxUSE_GRAPHICS_CONTEXT
|
||||
|
||||
#include <vector>
|
||||
|
||||
using namespace std;
|
||||
@ -945,3 +947,6 @@ wxGraphicsContext* wxGraphicsContext::Create( const wxWindowDC& dc)
|
||||
{
|
||||
return new wxGDIPlusContext( (HDC) dc.GetHDC() );
|
||||
}
|
||||
|
||||
|
||||
#endif // wxUSE_GRAPHICS_CONTEXT
|
||||
|
Loading…
Reference in New Issue
Block a user