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:
@@ -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
|
||||
|
Reference in New Issue
Block a user