X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/184fc6c87d232c6bcd0e7eb9b319183a9609ea69..d10e22fe8ad283f37b1809349028ffc282e393ce:/src/generic/graphicc.cpp diff --git a/src/generic/graphicc.cpp b/src/generic/graphicc.cpp index d901678cd5..96e77321fa 100755 --- a/src/generic/graphicc.cpp +++ b/src/generic/graphicc.cpp @@ -3,9 +3,9 @@ // Purpose: cairo device context class // Author: Stefan Csomor // Modified by: -// Created: 01/02/97 +// Created: 2006-10-03 // RCS-ID: $Id$ -// Copyright: (c) Stefan Csomor +// Copyright: (c) 2006 Stefan Csomor // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -13,9 +13,6 @@ #include "wx/dc.h" -// For compilers that support precompilation, includes "wx.h". -#include "wx/wxprec.h" - #ifdef __BORLANDC__ #pragma hdrstop #endif @@ -37,6 +34,8 @@ #include "wx/graphics.h" +#if wxUSE_GRAPHICS_CONTEXT + #include using namespace std; @@ -865,4 +864,6 @@ void wxCairoContext::SetFont( const wxFont &font ) wxGraphicsContext* wxGraphicsContext::Create( const wxWindowDC& dc ) { return new wxCairoContext(dc); -} \ No newline at end of file +} + +#endif // wxUSE_GRAPHICS_CONTEXT