From 0fe7cd1da4950b768fe7c513a97ffa001fd932e4 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 17 Nov 2010 01:20:38 +0000 Subject: [PATCH] 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 --- src/common/image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.45.2