From a1ce7203ece9f2c5ce1256e4192e188ba291f7ce Mon Sep 17 00:00:00 2001 From: cxgeorge <> Date: Sat, 9 Mar 2002 00:41:14 +0000 Subject: [PATCH] oops, fix bug in prev chkin --- panda/src/wdxdisplay/wdxGraphicsWindow.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/panda/src/wdxdisplay/wdxGraphicsWindow.cxx b/panda/src/wdxdisplay/wdxGraphicsWindow.cxx index 751f4782d8..c5464fea9f 100644 --- a/panda/src/wdxdisplay/wdxGraphicsWindow.cxx +++ b/panda/src/wdxdisplay/wdxGraphicsWindow.cxx @@ -350,9 +350,7 @@ window_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) { SET_MOUSE_COORD(x,LOWORD(lparam)); SET_MOUSE_COORD(y,HIWORD(lparam)); - if(wparam & (MK_LBUTTON | MK_MBUTTON | MK_RBUTTON)) { - handle_mouse_motion(x, y); - } + handle_mouse_motion(x, y); return 0; // if cursor is invisible, make it visible when moving in the window bars,etc