Mercurial > dwindows
changeset 767:9b0c22b58447
Don't fill a rectangle unless requested to
author | mhessling@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 18 Mar 2011 03:38:24 +0000 |
parents | 82cde14ec084 |
children | 7a236fdcf4ba |
files | mac/dw.m |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mac/dw.m Fri Mar 18 03:17:28 2011 +0000 +++ b/mac/dw.m Fri Mar 18 03:38:24 2011 +0000 @@ -4020,7 +4020,8 @@ [aPath lineToPoint:NSMakePoint(x + width, y + height)]; [aPath lineToPoint:NSMakePoint(x + width, y)]; [aPath closePath]; - [aPath fill]; + if(fill) + [aPath fill]; [aPath stroke]; [image unlockFocus]; DW_MUTEX_UNLOCK;