On Tue, Mar 24, 2015 at 4:36 PM, Dmitry Boyarintsev <
skalogryz.li...@gmail.com> wrote:

> hmm... or is DrawEdge declaration wrong having ARect be passed as "const"
> rather than "var"?
>
> it's var!
function DrawEdge(hdc: HDC; var qrc: TRect; edge: UINT; grfFlags: UINT):
BOOL; external 'user32' name 'DrawEdge';

Imho, the compiler should be adjusted for these cases not to give a note.
Since number of iterations is important in this case, not the iterator
value.

thanks,
Dmitry
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to