From: Václav Slavík Date: Sun, 2 Mar 2003 11:01:09 +0000 (+0000) Subject: removed deprecated calls from wxImage example (bug #688438) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/af49404386397a3582cdb0070aab315bd5d83d91?ds=inline 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 --- diff --git a/docs/latex/wx/image.tex b/docs/latex/wx/image.tex index e8bad3500f..55f4f0545b 100644 --- a/docs/latex/wx/image.tex +++ b/docs/latex/wx/image.tex @@ -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: