Ignore:
Timestamp:
Oct 12, 1999, 8:51:38 PM (26 years ago)
Author:
sandervl
Message:

Only subclass frame when they have either a 3d border or *only* the WS_BORDER borderstyle

File:
1 edited

Legend:

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

    r1258 r1261  
    1 /* $Id: oslibwin.cpp,v 1.23 1999-10-12 18:14:55 sandervl Exp $ */
     1/* $Id: oslibwin.cpp,v 1.24 1999-10-12 18:51:38 sandervl Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    141141      *borderHeight = *borderWidth = 1;
    142142
    143     } else if (*dwExStyle & WS_EX_WINDOWEDGE_W); //no border
     143    }
     144    else
     145    if(dwStyle & WS_BORDER_W)
     146    {
     147      *OSFrameStyle |= FCF_SIZEBORDER;
     148      *borderHeight = *borderWidth = 1;
     149    }
     150    else if (*dwExStyle & WS_EX_WINDOWEDGE_W); //no border
    144151
    145152    if(dwStyle & WS_VSCROLL_W)
Note: See TracChangeset for help on using the changeset viewer.