X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3cd0b8c5b5a320bba065c4da306be3687d144157..3c86150dd768b4e490b603227de28aa57275ee4b:/src/x11/dc.cpp?ds=sidebyside diff --git a/src/x11/dc.cpp b/src/x11/dc.cpp index aeef76c8fd..4b82e09a70 100644 --- a/src/x11/dc.cpp +++ b/src/x11/dc.cpp @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "dc.h" #endif @@ -71,11 +71,6 @@ void wxDC::DoSetClippingRegion( wxCoord x, wxCoord y, wxCoord width, wxCoord hei m_clipY2 = y + height; } -void wxDC::DestroyClippingRegion() -{ - m_clipping = FALSE; -} - void wxDC::DoGetSizeMM( int* width, int* height ) const { int w, h;