]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't pass a bool to wxImage::MakeEmptyClone() which takes an enum.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 17 Nov 2010 01:20:38 +0000 (01:20 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 17 Nov 2010 01:20:38 +0000 (01:20 +0000)
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

index d8dd6a0d457c0fb064b9e847e93bea1b7d21bcea..16e3ba6e46494a5fcce41e566c9d7949de9094fa 100644 (file)
@@ -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 );