compilation warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -59,6 +59,12 @@ void wxSetIconsX11( WXDisplay* display, WXWindow window,
|
||||
gMask = image.GetMaskGreen();
|
||||
bMask = image.GetMaskBlue();
|
||||
}
|
||||
else // no mask, but still init the variables to avoid warnings
|
||||
{
|
||||
rMask =
|
||||
gMask =
|
||||
bMask = 0;
|
||||
}
|
||||
|
||||
*ptr++ = width;
|
||||
*ptr++ = height;
|
||||
|
Reference in New Issue
Block a user