Ignore:
Timestamp:
Jun 12, 2001, 7:02:42 PM (24 years ago)
Author:
sandervl
Message:

FillRect & CS_CLASSDC fixes; use critical secions for hooks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/win32wbase.h

    r5935 r5973  
    1 /* $Id: win32wbase.h,v 1.118 2001-06-09 14:50:21 sandervl Exp $ */
     1/* $Id: win32wbase.h,v 1.119 2001-06-12 17:02:42 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    471471         VOID  AdjustTrackInfo(PPOINT minTrackSize,PPOINT maxTrackSize);
    472472
     473         //Temporary hack for CS_CLASSDC style (do the same as for CS_OWNDC)
    473474#ifndef OS2_INCLUDED
    474          BOOL   isOwnDC() { return (windowClass && windowClass->getStyle() & CS_OWNDC); }
     475         BOOL   isOwnDC() { return (windowClass && windowClass->getStyle() & (CS_OWNDC|CS_CLASSDC)); }
    475476#else
    476          BOOL   isOwnDC() { return (windowClass && windowClass->getStyle() & CS_OWNDC_W); }
     477         BOOL   isOwnDC() { return (windowClass && windowClass->getStyle() & (CS_OWNDC_W|CS_CLASSDC_W)); }
    477478#endif
    478479
Note: See TracChangeset for help on using the changeset viewer.