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
This commit is contained in:
@@ -1128,7 +1128,7 @@ wxImage wxImage::Rotate90( bool clockwise ) const
|
|||||||
|
|
||||||
wxImage wxImage::Rotate180() const
|
wxImage wxImage::Rotate180() const
|
||||||
{
|
{
|
||||||
wxImage image( MakeEmptyClone( false ));
|
wxImage image(MakeEmptyClone());
|
||||||
|
|
||||||
wxCHECK( image.Ok(), image );
|
wxCHECK( image.Ok(), image );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user