Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -820,7 +820,7 @@ void wxImage::SetRGB( const wxRect& rect_, unsigned char r, unsigned char g, uns
|
|||||||
x2 = rect.GetRight() + 1,
|
x2 = rect.GetRight() + 1,
|
||||||
y2 = rect.GetBottom() + 1;
|
y2 = rect.GetBottom() + 1;
|
||||||
|
|
||||||
unsigned char *data = NULL;
|
unsigned char *data wxDUMMY_INITIALIZE(NULL);
|
||||||
int x, y, width = GetWidth();
|
int x, y, width = GetWidth();
|
||||||
for (y = y1; y < y2; y++)
|
for (y = y1; y < y2; y++)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user