Ignore:
Timestamp:
Jan 2, 2000, 8:30:47 PM (26 years ago)
Author:
cbratschi
Message:

* empty log message *

File:
1 edited

Legend:

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

    r2291 r2292  
    1 /* $Id: oslibmsgtranslate.cpp,v 1.2 2000-01-01 17:07:41 cbratschi Exp $ */
     1/* $Id: oslibmsgtranslate.cpp,v 1.3 2000-01-02 19:30:43 cbratschi Exp $ */
    22/*
    33 * Window message translation functions for OS/2
     
    113113  win32wnd = Win32BaseWindow::GetWindowFromOS2Handle(os2Msg->hwnd);
    114114  //PostThreadMessage posts WIN32APP_POSTMSG msg without window handle
    115   if((win32wnd == 0 && os2Msg->msg != WM_CREATE && os2Msg->msg != WIN32APP_POSTMSG))
     115  if((win32wnd == 0) && (os2Msg->msg != WM_CREATE) && (os2Msg->msg != WIN32APP_POSTMSG))
    116116  {
    117117        goto dummymessage; //not a win32 client window
     
    298298
    299299        if (!win32wnd->CanReceiveSizeMsgs())    goto dummymessage;
    300 
     300//CB: todo: send WM_NCCALCSIZE
     301#if 0   //CB: ignore it
    301302        dprintf(("Set client rectangle to (%d,%d)(%d,%d)", swpOld.x, swpOld.y, swpOld.x + swpOld.cx, swpOld.y + swpOld.cy));
    302303        win32wnd->setClientRect(swpOld.x, swpOld.y, swpOld.x + swpOld.cx, swpOld.y + swpOld.cy);
     
    321322            goto dummymessage;
    322323        }
     324#else
     325        goto dummymessage;
     326#endif
    323327    }
    324328
Note: See TracChangeset for help on using the changeset viewer.