Ignore:
Timestamp:
Jul 15, 2001, 5:39:03 PM (24 years ago)
Author:
sandervl
Message:

no close button in warp 3 (os/2 l&f)

File:
1 edited

Legend:

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

    r6168 r6342  
    1 /* $Id: oslibwin.cpp,v 1.105 2001-07-04 09:55:17 sandervl Exp $ */
     1/* $Id: oslibwin.cpp,v 1.106 2001-07-15 15:39:03 sandervl Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    2727#include "oslibgdi.h"
    2828#include "pmwindow.h"
     29#include "initterm.h"
    2930
    3031#define DBG_LOCALLOG    DBG_oslibwin
     
    192193              swp[i].cx -= minmaxwidth;
    193194          }
    194           if(dwStyle & WS_SYSMENU_W) {
     195          //there is no close button in warp 3
     196          if((dwStyle & WS_SYSMENU_W) && !fVersionWarp3) {
    195197              swp[i].cx -= minmaxwidth/2;
    196198          }
     
    217219              swp[i].cx += minmaxwidth;
    218220          }
    219           if(dwStyle & WS_SYSMENU_W) {
     221          //there is no close button in warp 3
     222          if((dwStyle & WS_SYSMENU_W) && !fVersionWarp3) {
    220223              swp[i].cx += minmaxwidth/2;
    221224          }
Note: See TracChangeset for help on using the changeset viewer.