We didn't draw the last line and row of the image for some reason, simply
remove the -1 which prevented us from doing this.
Closes #12476.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67622
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
Rect drawRect((REAL) x, (REAL)y, (REAL)w, (REAL)h);
m_context->SetPixelOffsetMode( PixelOffsetModeNone );
{
Rect drawRect((REAL) x, (REAL)y, (REAL)w, (REAL)h);
m_context->SetPixelOffsetMode( PixelOffsetModeNone );
- m_context->DrawImage(image, drawRect, 0 , 0 , image->GetWidth()-1, image->GetHeight()-1, UnitPixel ) ;
+ m_context->DrawImage(image, drawRect, 0 , 0 , image->GetWidth(), image->GetHeight(), UnitPixel ) ;
m_context->SetPixelOffsetMode( PixelOffsetModeHalf );
}
else
m_context->SetPixelOffsetMode( PixelOffsetModeHalf );
}
else