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:
parent
3ebcd89da9
commit
4104d2b331
@ -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 )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user