From: Vadim Zeitlin Date: Wed, 17 Nov 2010 01:20:38 +0000 (+0000) Subject: Don't pass a bool to wxImage::MakeEmptyClone() which takes an enum. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0fe7cd1da4950b768fe7c513a97ffa001fd932e4 Don't pass a bool to wxImage::MakeEmptyClone() which takes an enum. Correct the changes of r66167 which accidentally left a call to MakeEmptyClone() using its previous signature. See #12682. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/image.cpp b/src/common/image.cpp index d8dd6a0d45..16e3ba6e46 100644 --- a/src/common/image.cpp +++ b/src/common/image.cpp @@ -1128,7 +1128,7 @@ wxImage wxImage::Rotate90( bool clockwise ) const wxImage wxImage::Rotate180() const { - wxImage image( MakeEmptyClone( false )); + wxImage image(MakeEmptyClone()); wxCHECK( image.Ok(), image );