]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/taskbar.cpp
make sure we are comparing the stripped strings
[wxWidgets.git] / src / msw / taskbar.cpp
index f6512bba8bb4103a82f36ca2f92d1786b5e7c91c..57ce4633f89ea0e161a69ce3a3cd517d76b787b2 100644 (file)
@@ -91,7 +91,7 @@ public:
     {
         if (msg == gs_msgRestartTaskbar || msg == gs_msgTaskbar)
         {
-            return m_icon->WindowProc(GetHWND(), msg, wParam, lParam);
+            return m_icon->WindowProc(msg, wParam, lParam);
         }
         else
         {
@@ -268,9 +268,8 @@ void wxTaskBarIcon::RegisterWindowMessages()
 // wxTaskBarIcon window proc
 // ----------------------------------------------------------------------------
 
-long wxTaskBarIcon::WindowProc(WXHWND hWnd,
-                               unsigned int msg,
-                               unsigned int wParam,
+long wxTaskBarIcon::WindowProc(unsigned int msg,
+                               unsigned int WXUNUSED(wParam),
                                long lParam)
 {
     wxEventType eventType = 0;