]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/gsockmsw.c
Only send two EVT_BUTTON events when double clicking a button, not three
[wxWidgets.git] / src / msw / gsockmsw.c
index c966cfffc1ad8d1dc416df0fb13c67b17573f1ab..32131c214a0c58f32feffafb2273eca237a9b1ef 100644 (file)
@@ -188,7 +188,7 @@ LRESULT CALLBACK _GSocket_Internal_WinProc(HWND hWnd,
   {
     EnterCriticalSection(&critical);
     socket = socketList[(uMsg - WM_USER)];
-    event = -1;
+    event = (GSocketEvent) -1;
     cback = NULL;
     data = NULL;