]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/taskbar.cpp
Various changes to make pop up menus work
[wxWidgets.git] / src / msw / taskbar.cpp
index 0cab9d2d3aecfdb2f333eca1ce15d7eda95b10ac..fa2ae4311161dffc0a69850c6ffbbb29816178a6 100644 (file)
@@ -355,9 +355,7 @@ long wxTaskBarIcon::WindowProc( WXHWND hWnd, unsigned int msg, unsigned int wPar
         }
 
     if (eventType) {
         }
 
     if (eventType) {
-        wxEvent event;
-        event.SetEventType(eventType);
-        event.SetEventObject(this);
+        wxTaskBarIconEvent event(eventType, this);
 
         ProcessEvent(event);
     }
 
         ProcessEvent(event);
     }