X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..2296fe5018d42d4e0bf9df07c37d31f60d972b32:/src/gtk1/dc.cpp diff --git a/src/gtk1/dc.cpp b/src/gtk1/dc.cpp index 11b2991b40..00b3fafcb5 100644 --- a/src/gtk1/dc.cpp +++ b/src/gtk1/dc.cpp @@ -20,17 +20,6 @@ #include #include -//----------------------------------------------------------------------------- -// constants -//----------------------------------------------------------------------------- - -#define mm2inches 0.0393700787402 -#define inches2mm 25.4 -#define mm2twips 56.6929133859 -#define twips2mm 0.0176388888889 -#define mm2pt 2.83464566929 -#define pt2mm 0.352777777778 - //----------------------------------------------------------------------------- // wxDC //----------------------------------------------------------------------------- @@ -65,11 +54,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 // --------------------------------------------------------------------------- @@ -122,7 +106,7 @@ void wxDC::SetMapMode( int mode ) break; } m_mappingMode = mode; - + /* we don't do this mega optimisation if (mode != wxMM_TEXT) {