Ignore:
Timestamp:
Oct 10, 1999, 10:59:41 AM (26 years ago)
Author:
sandervl
Message:

Dialog, style + window handle translation bugfixes

File:
1 edited

Legend:

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

    r1202 r1240  
    1 /* $Id: oslibwin.cpp,v 1.18 1999-10-08 21:25:26 cbratschi Exp $ */
     1/* $Id: oslibwin.cpp,v 1.19 1999-10-10 08:59:40 sandervl Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    120120  if (dwStyle & WS_CHILD_W)
    121121  {
     122//SvL: Causes crash in VPBuddy if enabled
     123#if 0
    122124    if (dwStyle & WS_BORDER_W ||
    123125        dwStyle & WS_DLGFRAME_W ||
    124126        dwStyle & WS_THICKFRAME_W)
    125           if (!HAS_3DFRAME(*OSFrameStyle)) *OSFrameStyle |= WS_EX_WINDOWEDGE_W;
     127          if (!HAS_3DFRAME(dwExStyle)) dwExStyle |= WS_EX_WINDOWEDGE_W;
     128#endif
    126129
    127130    if (dwExStyle & WS_EX_CLIENTEDGE_W ||
     
    132135            *borderHeight = *borderWidth = 2; //CB: right?
    133136          }
    134 
    135137    if(dwStyle & WS_VSCROLL_W)
    136138          *OSFrameStyle |= FCF_VERTSCROLL;
    137139    if(dwStyle & WS_HSCROLL_W)
    138140          *OSFrameStyle |= FCF_HORZSCROLL;
    139   } else
     141  }
     142  else
    140143  {
    141144    if((dwStyle & WS_CAPTION_W) == WS_CAPTION_W)
Note: See TracChangeset for help on using the changeset viewer.