Ignore:
Timestamp:
Apr 2, 2000, 5:12:48 PM (25 years ago)
Author:
cbratschi
Message:

* empty log message *

File:
1 edited

Legend:

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

    r3291 r3306  
    1 /* $Id: win32wbasenonclient.cpp,v 1.18 2000-04-01 11:35:00 cbratschi Exp $ */
     1/* $Id: win32wbasenonclient.cpp,v 1.19 2000-04-02 15:11:50 cbratschi Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2 (non-client methods)
     
    857857  HDC memDC;
    858858  HBITMAP memBmp,oldBmp;
    859   SYSTEMTIME time; //WYSIWYGOFOA
    860 
    861   GetSystemTime(&time);
    862 
    863859
    864860  memDC = CreateCompatibleDC(hdc);
     
    879875  {
    880876    COLORREF startColor = GetSysColor(active ? COLOR_ACTIVECAPTION:COLOR_INACTIVECAPTION),endColor = GetSysColor(active ? COLOR_GRADIENTACTIVECAPTION:COLOR_GRADIENTINACTIVECAPTION);
    881 
    882     if ((time.wMonth == 4) && (time.wDay == 1))
    883     {
    884       startColor = RGB(rand() & 0xFF,rand() & 0xFF,rand() & 0xFF);
    885       endColor = RGB(rand() & 0xFF,rand() & 0xFF,rand() & 0xFF);
    886     }
    887877
    888878    if (startColor == endColor)
     
    965955  }
    966956
    967   if (GetWindowTextA(buffer, sizeof(buffer)-2 )) //WYSIWYGOFOA: -2
     957  if (GetWindowTextA(buffer, sizeof(buffer) ))
    968958  {
    969959    NONCLIENTMETRICSA nclm;
    970960    HFONT hFont, hOldFont;
    971 
    972     if ((time.wMonth == 4) && (time.wDay == 1)) strcat(buffer,"/2"); //WYSIWYGOFOA
    973961
    974962    nclm.cbSize = sizeof(NONCLIENTMETRICSA);
Note: See TracChangeset for help on using the changeset viewer.