git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29948
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
}
else // use_bitmap_method
{
- if ((memDC->m_selected.GetWidth() != ww) || (memDC->m_selected.GetHeight() != hh))
+ if ((width != ww) || (height != hh))
{
// get clip coords
wxRegion tmp( xx,yy,ww,hh );
}
else // use_bitmap_method
{
- if ((memDC->m_selected.GetWidth() != ww) || (memDC->m_selected.GetHeight() != hh))
+ if ((width != ww) || (height != hh))
{
// get clip coords
wxRegion tmp( xx,yy,ww,hh );