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:
Václav Slavík
2003-03-02 11:01:09 +00:00
parent 4f727d46b3
commit 5b6f98d439

View File

@@ -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: