git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42874
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// a clipped bitmap and therefore needs to move the origin
// accordingly
wxRegion tmp( xx,yy,ww,hh );
// a clipped bitmap and therefore needs to move the origin
// accordingly
wxRegion tmp( xx,yy,ww,hh );
- tmp.Intersect( m_currentClippingRegion );
+ if (!m_currentClippingRegion.IsNull())
+ tmp.Intersect( m_currentClippingRegion );
tmp.GetBox(cx,cy,cw,ch);
// Scale and clipped bitmap
tmp.GetBox(cx,cy,cw,ch);
// Scale and clipped bitmap