Ignore:
Timestamp:
Jan 14, 2001, 6:15:47 PM (25 years ago)
Author:
sandervl
Message:

listbox, combobox and notifyframe fixes

File:
1 edited

Legend:

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

    r4452 r4945  
    1 /* $Id: win32wbasepos.cpp,v 1.17 2000-10-08 14:03:49 sandervl Exp $ */
     1/* $Id: win32wbasepos.cpp,v 1.18 2001-01-14 17:15:47 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2 (nonclient/position methods)
     
    133133   NCCALCSIZE_PARAMS params;
    134134   WINDOWPOS winposCopy;
    135    LONG result;
     135   LONG result = 0;
    136136
    137137   /* Send WM_NCCALCSIZE message to get new client area */
    138 //   if((winpos->flags & (SWP_FRAMECHANGED | SWP_NOSIZE)) != SWP_NOSIZE )
    139 //   {
     138   if((winpos->flags & (SWP_FRAMECHANGED | SWP_NOSIZE)) != SWP_NOSIZE )
     139   {
    140140        params.rgrc[0] = *newWindowRect;
    141141        if(calcValidRect)
     
    167167             winpos->flags &= ~SWP_NOCLIENTSIZE;
    168168
    169 //   }
    170 //   else
    171 //   if(!(winpos->flags & SWP_NOMOVE) &&
    172 //       (newClientRect->left != rectClient.left || newClientRect->top != rectClient.top)) {
    173 //            winpos->flags &= ~SWP_NOCLIENTMOVE;
    174 //   }
     169   }
     170   else
     171   if(!(winpos->flags & SWP_NOMOVE) &&
     172       (newClientRect->left != rectClient.left || newClientRect->top != rectClient.top)) {
     173            winpos->flags &= ~SWP_NOCLIENTMOVE;
     174   }
    175175   return result;
    176176}
Note: See TracChangeset for help on using the changeset viewer.