Fixed updating clipping box parameters prior to retrieving the box (MSW).

Empty clipping region doesn't mean that there is no clipping.
This commit is contained in:
Artur Wieczorek 2016-07-03 22:36:58 +02:00
parent 8615921f42
commit 6b7ae05e3f

View File

@ -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);