diff --git a/src/msw/taskbar.cpp b/src/msw/taskbar.cpp index 22583439bf..976f5e9197 100644 --- a/src/msw/taskbar.cpp +++ b/src/msw/taskbar.cpp @@ -92,7 +92,7 @@ struct NotifyIconData : public NOTIFYICONDATA { NotifyIconData(WXHWND hwnd) { - memset(this, 0, sizeof(NOTIFYICONDATA)); + wxZeroMemory(*this); // Since Vista there is a new member hBalloonIcon which will be used // if a user specified icon is specified in ShowBalloon(). For XP