X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f07dc2e2a71f2c9dc9886a67e834a1b12a14df47..6ee3c06421446908fabe9de45b8e0c7519c28c24:/src/msw/bitmap.cpp diff --git a/src/msw/bitmap.cpp b/src/msw/bitmap.cpp index dbb6114bee..8be40253f6 100644 --- a/src/msw/bitmap.cpp +++ b/src/msw/bitmap.cpp @@ -1865,6 +1865,7 @@ HICON wxBitmapToIconOrCursor(const wxBitmap& bmp, } ICONINFO iconInfo; + wxZeroMemory(iconInfo); iconInfo.fIcon = iconWanted; // do we want an icon or a cursor? if ( !iconWanted ) {