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