]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/taskbar.cpp
1. always create the buttons with WS_CLIPSIBLINGS style, this prevetns them
[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);
     }