X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b985763280ef50a537c28ce6e811c9186859453d..910484a67ddd6eac7c2ec947fc9e2e71f95abb6e:/src/gtk1/dc.cpp diff --git a/src/gtk1/dc.cpp b/src/gtk1/dc.cpp index ad4b1373f6..57c1f336a7 100644 --- a/src/gtk1/dc.cpp +++ b/src/gtk1/dc.cpp @@ -97,22 +97,8 @@ wxSize wxDC::GetPPI() const void wxDC::ComputeScaleAndOrigin() { - /* CMB: copy scale to see if it changes */ - double origScaleX = m_scaleX; - double origScaleY = m_scaleY; - m_scaleX = m_logicalScaleX * m_userScaleX; m_scaleY = m_logicalScaleY * m_userScaleY; - - /* CMB: if scale has changed call SetPen to recalulate the line width */ - if (m_scaleX != origScaleX || m_scaleY != origScaleY) - { - /* this is a bit artificial, but we need to force wxDC to think - the pen has changed */ - wxPen pen = m_pen; - m_pen = wxNullPen; - SetPen( pen ); - } } void wxDC::SetMapMode( int mode )