X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ccec90930cfc38bd4347a97f46481242d9fd23cd..c29c95fe24973b94fd724db767193171ca7c513d:/samples/image/image.cpp diff --git a/samples/image/image.cpp b/samples/image/image.cpp index 9ba854ebe6..7fa9637561 100644 --- a/samples/image/image.cpp +++ b/samples/image/image.cpp @@ -407,7 +407,7 @@ private: wxImage img(m_bitmap.ConvertToImage()); img = img.Rotate(angle, wxPoint(img.GetWidth() / 2, img.GetHeight() / 2)); - if ( !img.Ok() ) + if ( !img.IsOk() ) { wxLogWarning(wxT("Rotation failed")); return;