Ignore:
Timestamp:
Jan 3, 2000, 11:53:16 PM (26 years ago)
Author:
sandervl
Message:

dispatchmessage bugfix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/new/oslibmsg.cpp

    r2312 r2314  
    1 /* $Id: oslibmsg.cpp,v 1.7 2000-01-03 21:37:17 sandervl Exp $ */
     1/* $Id: oslibmsg.cpp,v 1.8 2000-01-03 22:53:16 sandervl Exp $ */
    22/*
    33 * Window message translation functions for OS/2
     
    178178            thdb->msgstate++; //odd -> next call to our PM window handler should dispatch the translated msg
    179179            memcpy(&thdb->msg, msg, sizeof(MSG));
    180             return (LONG)WinDispatchMsg(thdb->hab, &os2msg);
    181         }
    182         //SvL: TODO; What to do if messages posted by PostThreadMessage are
    183         //     dispatched? Wine doesn't appear to do this.
    184         //     If we call WinDispatchMsg, every window created by the thread
    185         //     receives this message. Does this also happen in NT?
    186         return 0;
     180        }
     181        return (LONG)WinDispatchMsg(thdb->hab, &os2msg);
    187182  }
    188183  else {//is this allowed?
Note: See TracChangeset for help on using the changeset viewer.