git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14952
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
else if ( stretch & wxEXPAND )
{
// stretch bitmap to fill the entire control
else if ( stretch & wxEXPAND )
{
// stretch bitmap to fill the entire control
- bmp = wxImage(bmp).Scale(rect.width, rect.height).ConvertToBitmap();
+ bmp = wxImage(bmp.ConvertToImage()).Scale(rect.width, rect.height);
}
else // not stretched, not tiled
{
}
else // not stretched, not tiled
{