git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27108
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// when we're associated with an existing HDC usign SetHDC(), see there
if ( m_clipping && !m_clipX1 && !m_clipX2 )
{
// when we're associated with an existing HDC usign SetHDC(), see there
if ( m_clipping && !m_clipX1 && !m_clipX2 )
{
+ wxDC *self = wxConstCast(this, wxDC);
+ self->UpdateClipBox();
if ( !m_clipX1 && !m_clipX2 )
if ( !m_clipX1 && !m_clipX2 )
+ self->m_clipping = false;
}
return wxDCBase::DoGetClippingBox(x, y, w, h);
}
return wxDCBase::DoGetClippingBox(x, y, w, h);