removed deprecated calls from wxImage example (bug #688438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
458ca8c1fd
commit
af49404386
@ -791,7 +791,7 @@ Example:
|
||||
// rescale it to have size of 32*32
|
||||
if ( bmp.GetWidth() != 32 || bmp.GetHeight() != 32 )
|
||||
{
|
||||
wxImage image(bmp);
|
||||
wxImage image = bmp.ConvertToImage();
|
||||
bmp = wxBitmap(image.Scale(32, 32));
|
||||
|
||||
// another possibility:
|
||||
|
Loading…
Reference in New Issue
Block a user