Correct checks for gradient stop position.

It may be <= 1 in the final version and not < 1.

See #11897.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-04-06 00:17:16 +00:00
parent 86ad5903b9
commit 3784bf308f
2 changed files with 2 additions and 2 deletions

View File

@@ -520,7 +520,7 @@ void wxGraphicsGradientStops::Add(const wxGraphicsGradientStop& stop)
}
else
{
wxFAIL_MSG( "invalid gradient stop position >= 1" );
wxFAIL_MSG( "invalid gradient stop position > 1" );
}
}