assert -> wxASSERT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1879,7 +1879,7 @@ void wxImage::RotateHue(double angle)
|
|||||||
wxImage::HSVValue hsv;
|
wxImage::HSVValue hsv;
|
||||||
wxImage::RGBValue rgb;
|
wxImage::RGBValue rgb;
|
||||||
|
|
||||||
assert (angle >= -1.0 && angle <= 1.0);
|
wxASSERT (angle >= -1.0 && angle <= 1.0);
|
||||||
count = M_IMGDATA->m_width * M_IMGDATA->m_height;
|
count = M_IMGDATA->m_width * M_IMGDATA->m_height;
|
||||||
if (count > 0 && angle != 0.0)
|
if (count > 0 && angle != 0.0)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user