Changeset 120:d7264281cb4a

Show
Ignore:
Timestamp:
02/10/08 22:33:36 (1 year ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

fix: compile error due to missing scope with static if

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/widgets/Canvas.d

    r117 r120  
    210210            OS.InvalidateRect (handle, &sourceRect, true); 
    211211        } else { 
     212            { // scope for flags 
    212213            int flags = OS.RDW_ERASE | OS.RDW_FRAME | OS.RDW_INVALIDATE; 
    213214            if (all) flags |= OS.RDW_ALLCHILDREN; 
    214215            OS.RedrawWindow (handle, &sourceRect, null, flags); 
     216            } 
    215217        } 
    216218        OS.OffsetRect (&sourceRect, deltaX, deltaY);