X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad81651f00edc6f489d9b6a0839d316a964fd521..a83ea9c15a7ac7bbdc6686164cfcbbc21ae5031a:/src/motif/dc.cpp diff --git a/src/motif/dc.cpp b/src/motif/dc.cpp index cc5c5359a4..187bf9f018 100644 --- a/src/motif/dc.cpp +++ b/src/motif/dc.cpp @@ -9,10 +9,13 @@ // 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 "wx/dcmemory.h" #include "wx/defs.h" @@ -87,11 +90,6 @@ void wxDC::DoSetClippingRegion( wxCoord x, wxCoord y, wxCoord width, wxCoord hei m_clipY2 = y + height; } -void wxDC::DestroyClippingRegion() -{ - m_clipping = FALSE; -} - void wxDC::DoGetSize( int* width, int* height ) const { if ( width )