Ignore:
Timestamp:
Jun 10, 2001, 2:05:41 PM (24 years ago)
Author:
sandervl
Message:

bugfixes + os/2 look support added

File:
1 edited

Legend:

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

    r5935 r5951  
    1 /* $Id: win32wbasenonclient.cpp,v 1.31 2001-06-09 14:50:22 sandervl Exp $ */
     1/* $Id: win32wbasenonclient.cpp,v 1.32 2001-06-10 12:05:41 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2 (non-client methods)
     
    527527      //Check context help
    528528      if (dwExStyle & WS_EX_CONTEXTHELP)
    529         rect.right -= GetSystemMetrics(SM_CXSIZE) + 1;
     529          rect.right -= GetSystemMetrics(SM_CXSIZE) + 1;
    530530      if (pt.x > rect.right) return HTHELP;
    531531
     
    533533      /* In win95 there is automatically a Maximize button when there is a minimize one*/
    534534      if ((dwStyle & WS_MAXIMIZEBOX)|| (dwStyle & WS_MINIMIZEBOX))
    535         rect.right -= GetSystemMetrics(SM_CXSIZE) + 1;
     535          rect.right -= GetSystemMetrics(SM_CXSIZE) + 1;
    536536      if (pt.x > rect.right) return HTMAXBUTTON;
    537537
     
    539539      /* In win95 there is automatically a Maximize button when there is a Maximize one*/
    540540      if ((dwStyle & WS_MINIMIZEBOX)||(dwStyle & WS_MAXIMIZEBOX))
    541       rect.right -= GetSystemMetrics(SM_CXSIZE) + 1;
     541          rect.right -= GetSystemMetrics(SM_CXSIZE) + 1;
    542542
    543543      if (pt.x > rect.right) return HTMINBUTTON;
     
    887887  HDC memDC;
    888888  HBITMAP memBmp,oldBmp;
     889
     890  if(fOS2Look) return;
    889891
    890892  memDC = CreateCompatibleDC(hdc);
Note: See TracChangeset for help on using the changeset viewer.