From 4104d2b331232e5eca529feebb81c335edf267c4 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 21 Jul 2003 12:30:30 +0000 Subject: [PATCH] initialize ICONINFO to avoid Purify warnings git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/bitmap.cpp | 1 + 1 file changed, 1 insertion(+) 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 ) {