Ignore:
Timestamp:
Mar 9, 2000, 10:50:11 PM (25 years ago)
Author:
sandervl
Message:

dinput changes/fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/oslibmsgtranslate.cpp

    r3007 r3072  
    1 /* $Id: oslibmsgtranslate.cpp,v 1.21 2000-03-04 19:54:03 sandervl Exp $ */
     1/* $Id: oslibmsgtranslate.cpp,v 1.22 2000-03-09 21:50:11 sandervl Exp $ */
    22/*
    33 * Window message translation functions for OS/2
     
    195195        if(ISMOUSE_CAPTURED())
    196196        {
    197             if(DInputMouseHandler(win32wnd->getWindowHandle(), MOUSEMSG_BUTTON, winMsg->pt.x, winMsg->pt.y))
     197            if(DInputMouseHandler(win32wnd->getWindowHandle(), winMsg->message, winMsg->pt.x, winMsg->pt.y))
    198198                goto dummymessage; //dinput swallowed message
    199199        }
     
    231231        if(ISMOUSE_CAPTURED())
    232232        {
    233             if(DInputMouseHandler(win32wnd->getWindowHandle(), MOUSEMSG_MOVE, winMsg->pt.x, winMsg->pt.y))
     233            if(DInputMouseHandler(win32wnd->getWindowHandle(), winMsg->message, winMsg->pt.x, winMsg->pt.y))
    234234                goto dummymessage; //dinput swallowed message
    235235        }
     
    449449        if(ISMOUSE_CAPTURED())
    450450        {
    451             if(DInputMouseHandler(win32wnd->getWindowHandle(), MOUSEMSG_BUTTON, winMsg->pt.x, winMsg->pt.y))
     451            if(DInputMouseHandler(win32wnd->getWindowHandle(), winMsg->message, winMsg->pt.x, winMsg->pt.y))
    452452                goto dummymessage; //dinput swallowed message
    453453        }
     
    485485        if(ISMOUSE_CAPTURED())
    486486        {
    487             if(DInputMouseHandler(win32wnd->getWindowHandle(), MOUSEMSG_MOVE, winMsg->pt.x, winMsg->pt.y))
     487            if(DInputMouseHandler(win32wnd->getWindowHandle(), winMsg->message, winMsg->pt.x, winMsg->pt.y))
    488488                goto dummymessage; //dinput swallowed message
    489489        }
Note: See TracChangeset for help on using the changeset viewer.