initialize ICONINFO to avoid Purify warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1865,6 +1865,7 @@ HICON wxBitmapToIconOrCursor(const wxBitmap& bmp,
|
|||||||
}
|
}
|
||||||
|
|
||||||
ICONINFO iconInfo;
|
ICONINFO iconInfo;
|
||||||
|
wxZeroMemory(iconInfo);
|
||||||
iconInfo.fIcon = iconWanted; // do we want an icon or a cursor?
|
iconInfo.fIcon = iconWanted; // do we want an icon or a cursor?
|
||||||
if ( !iconWanted )
|
if ( !iconWanted )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user