X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e96360efd9015260be782e778c8076bb13cb6f5a..e3dbf5934e997729c6f4f5154b1b7f29d5d22149:/src/msw/taskbar.cpp diff --git a/src/msw/taskbar.cpp b/src/msw/taskbar.cpp index 0cab9d2d3a..fa2ae43111 100644 --- a/src/msw/taskbar.cpp +++ b/src/msw/taskbar.cpp @@ -355,9 +355,7 @@ long wxTaskBarIcon::WindowProc( WXHWND hWnd, unsigned int msg, unsigned int wPar } if (eventType) { - wxEvent event; - event.SetEventType(eventType); - event.SetEventObject(this); + wxTaskBarIconEvent event(eventType, this); ProcessEvent(event); }