David Rose 24 years ago
parent
commit
dc1fe04b92
1 changed files with 1 additions and 0 deletions
  1. 1 0
      panda/src/wgldisplay/wglGraphicsWindow.cxx

+ 1 - 0
panda/src/wgldisplay/wglGraphicsWindow.cxx

@@ -1355,6 +1355,7 @@ window_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) {
         GetCursorPos(&point);
         GetCursorPos(&point);
         ScreenToClient(hwnd, &point);
         ScreenToClient(hwnd, &point);
         handle_keypress(lookup_key(wparam), point.x, point.y);
         handle_keypress(lookup_key(wparam), point.x, point.y);
+        return 0;
       }
       }
 
 
     case WM_SYSKEYUP:
     case WM_SYSKEYUP: