Ignore:
Timestamp:
Jun 13, 2001, 12:29:46 PM (24 years ago)
Author:
sandervl
Message:

OS/2 looks changes + fixes

File:
1 edited

Legend:

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

    r5973 r5993  
    1 /* $Id: win32wbasenonclient.cpp,v 1.33 2001-06-12 17:02:42 sandervl Exp $ */
     1/* $Id: win32wbasenonclient.cpp,v 1.34 2001-06-13 10:29:46 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2 (non-client methods)
     
    888888  HBITMAP memBmp,oldBmp;
    889889
    890   if(fOS2Look) return;
     890  if(fOS2Look) {
     891      if ((dwStyle & WS_SYSMENU) && !(dwExStyle & WS_EX_TOOLWINDOW))
     892      {
     893         int size = GetSystemMetrics(SM_CYCAPTION);
     894   
     895         r2 = r;
     896         r2.right  = r2.left + size;
     897         r2.bottom = r2.top + size;
     898         FillRect(hdc, &r2, GetSysColorBrush(COLOR_MENU));
     899
     900         DrawSysButton(hdc,&r);
     901      }
     902      return;
     903  }
    891904
    892905  memDC = CreateCompatibleDC(hdc);
Note: See TracChangeset for help on using the changeset viewer.