X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce83033f35c6af7c7502b59d48f09a310756cd28..a83ea9c15a7ac7bbdc6686164cfcbbc21ae5031a:/src/gtk1/dc.cpp diff --git a/src/gtk1/dc.cpp b/src/gtk1/dc.cpp index 46ea5626c4..c74bbc81bb 100644 --- a/src/gtk1/dc.cpp +++ b/src/gtk1/dc.cpp @@ -3,15 +3,18 @@ // Purpose: // Author: Robert Roebling // RCS-ID: $Id$ -// Copyright: (c) 1998 Robert Roebling, Markus Holzem +// Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "dc.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/dc.h" #include @@ -62,11 +65,6 @@ void wxDC::DoSetClippingRegion( wxCoord x, wxCoord y, wxCoord width, wxCoord hei m_clipY2 = y + height; } -void wxDC::DestroyClippingRegion() -{ - m_clipping = FALSE; -} - // --------------------------------------------------------------------------- // get DC capabilities // ---------------------------------------------------------------------------