Ignore:
Timestamp:
Dec 19, 1999, 6:46:26 PM (26 years ago)
Author:
cbratschi
Message:

removed CS_SIZEREDRAW

File:
1 edited

Legend:

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

    r2084 r2140  
    1 /* $Id: pmwindow.cpp,v 1.65 1999-12-16 00:11:45 sandervl Exp $ */
     1/* $Id: pmwindow.cpp,v 1.66 1999-12-19 17:46:25 cbratschi Exp $ */
    22/*
    33 * Win32 Window Managment Code for OS/2
     
    156156     (PFNWP)Win32WindowProc,            /* Address of window procedure  */
    157157//     CS_SIZEREDRAW | CS_HITTEST | CS_MOVENOTIFY,
    158      CS_SIZEREDRAW | CS_HITTEST,
     158     //CS_SIZEREDRAW | CS_HITTEST,
     159     CS_HITTEST,
    159160     NROF_WIN32WNDBYTES)) {
    160161        dprintf(("WinRegisterClass Win32BaseWindow failed"));
     
    376377        }
    377378
    378         PRECT lpRect = win32wnd->getWindowRect();
     379        PRECT lpRect = win32wnd->getWindowRect();
    379380        //SvL: Only send it when the client has changed & the frame hasn't
    380381        //     If the frame size/position has changed, pmframe.cpp will send
    381382        //     this message
    382         if(lpRect->right == wp.x+wp.cx && lpRect->bottom == wp.y+wp.cy) {
    383                 win32wnd->MsgPosChanged((LPARAM)&wp);
    384         }
    385         else    win32wnd->setWindowRect(wp.x, wp.y, wp.x+wp.cx, wp.y+wp.cy);
     383        if(lpRect->right == wp.x+wp.cx && lpRect->bottom == wp.y+wp.cy) {
     384                win32wnd->MsgPosChanged((LPARAM)&wp);
     385        }
     386        else    win32wnd->setWindowRect(wp.x, wp.y, wp.x+wp.cx, wp.y+wp.cy);
    386387
    387388        goto RunDefWndProc;
     
    419420    {
    420421        dprintf(("OS2: WM_MINMAXFRAME"));
    421         break;
     422        break;
    422423    }
    423424    case WM_OWNERPOSCHANGE:
     
    784785
    785786    case WM_INITMENU:
    786         win32wnd->MsgInitMenu((HWND)mp2);
    787         break;
     787        win32wnd->MsgInitMenu((HWND)mp2);
     788        break;
    788789
    789790    case WM_MENUSELECT:
Note: See TracChangeset for help on using the changeset viewer.