X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c9a19aabab3a878b565e6c2a5f2a3824277c4dc..35bbb0c66bef7bfc43f28ceeac04be41d1ac9efe:/src/gtk/dc.cpp?ds=inline diff --git a/src/gtk/dc.cpp b/src/gtk/dc.cpp index aa54a1ae8e..c74bbc81bb 100644 --- a/src/gtk/dc.cpp +++ b/src/gtk/dc.cpp @@ -8,10 +8,13 @@ ///////////////////////////////////////////////////////////////////////////// -#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 // ---------------------------------------------------------------------------