Mercurial > dwindows
comparison mac/dw.m @ 1538:333f07bdbf7c
Check for NSScrollView instead of DWMLE for MLE controls on Mac.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 12 Jan 2012 18:31:40 +0000 |
parents | a4ecef1980db |
children | b86a04751ea0 |
comparison
equal
deleted
inserted
replaced
1537:a4ecef1980db | 1538:333f07bdbf7c |
---|---|
3526 thiswidth = size.width; | 3526 thiswidth = size.width; |
3527 thisheight = size.height; | 3527 thisheight = size.height; |
3528 } | 3528 } |
3529 } | 3529 } |
3530 /* MLE, Container and Tree */ | 3530 /* MLE, Container and Tree */ |
3531 else if([ object isMemberOfClass:[DWMLE class] ] || | 3531 else if([ object isMemberOfClass:[NSScrollView class] ] || |
3532 [ object isMemberOfClass:[DWContainer class] ] || | 3532 [ object isMemberOfClass:[DWContainer class] ] || |
3533 [ object isMemberOfClass:[DWTree class] ]) | 3533 [ object isMemberOfClass:[DWTree class] ]) |
3534 { | 3534 { |
3535 thiswidth = 500; | 3535 thiswidth = 500; |
3536 thisheight = 200; | 3536 thisheight = 200; |