Changeset 11891


Ignore:
Timestamp:
Oct 14, 1999, 11:37:44 PM (26 years ago)
Author:
sandervl
Message:

Removed FillRect during WM_PAINT of frame handler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tags/trunk/src/user32/pmframe.cpp

    r11885 r11891  
    1 /* $Id: pmframe.cpp,v 1.5 1999-10-14 18:27:58 sandervl Exp $ */
     1/* $Id: pmframe.cpp,v 1.6 1999-10-14 21:37:44 sandervl Exp $ */
    22/*
    33 * Win32 Frame Managment Code for OS/2
     
    183183
    184184      wndchild = Win32BaseWindow::GetWindowFromOS2FrameHandle(pswp->hwnd);
    185       if(wndchild && wndchild->isChild()) {
     185      if(wndchild && wndchild->isChild())
     186      {
     187#if 0
     188       SWP swp = *pswp;
     189
     190        MRESULT rc = OldFrameProc(hwnd, msg, mp1, mp2);
     191        pswp->x = swp.x;
     192        pswp->y = swp.y;
     193        pswp->fl = swp.fl;
     194#endif
    186195        dprintf(("PMFRAME: WM_ADJUSTWINDOWPOS %x %x %x (%d,%d) (%d,%d)", hwnd, pswp->hwnd, pswp->fl, pswp->x, pswp->y, pswp->cx, pswp->cy));
    187196        RestoreOS2TIB();
     
    314323          return res;
    315324        } else goto RunDefFrameProc;
    316       } else
     325      }
     326//SvL: I doubt this is necessary. Just look at winhlp32. First it draws the
     327//     the background gray and then white.
     328#if 0
     329      else
    317330      {
    318331        RECTL rect;
     
    326339        return (MRESULT)0;
    327340      }
     341#endif
    328342
    329343    default:
Note: See TracChangeset for help on using the changeset viewer.