assert -> wxASSERT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
7bccea09a7
commit
6926b9c403
@ -1879,7 +1879,7 @@ void wxImage::RotateHue(double angle)
|
||||
wxImage::HSVValue hsv;
|
||||
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;
|
||||
if (count > 0 && angle != 0.0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user