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:
parent
8615921f42
commit
6b7ae05e3f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user