From 6b7ae05e3f9042bbd9601d28c924b57db5e0d1ee Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Sun, 3 Jul 2016 22:36:58 +0200 Subject: [PATCH] Fixed updating clipping box parameters prior to retrieving the box (MSW). Empty clipping region doesn't mean that there is no clipping. --- src/msw/dc.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/msw/dc.cpp b/src/msw/dc.cpp index 9213388540..7207c2311f 100644 --- a/src/msw/dc.cpp +++ b/src/msw/dc.cpp @@ -591,9 +591,6 @@ wxMSWDCImpl::DoGetClippingBox(wxCoord *x, wxCoord *y, wxCoord *w, wxCoord *h) co { wxMSWDCImpl *self = wxConstCast(this, wxMSWDCImpl); self->UpdateClipBox(); - - if ( !m_clipX1 && !m_clipX2 ) - self->m_clipping = false; } wxDCImpl::DoGetClippingBox(x, y, w, h);