freelanceprogrammers.org Forum Index » Delphi
errors in wrapdelphigraphics ?
Joined: 23 Oct 2006
Posts: 5
errors in wrapdelphigraphics ?
It seems there is a little error in
TPyDelphiCanvas.StretchDraw_Wrapper in module wrapdelphigraphics :
oRect is object and not array of int so
replace this line
if (PyArg_ParseTuple( args, `iiO:StretchDraw`, [@_oRect, @_oGraphic] )
<> 0) and
by
if (PyArg_ParseTuple( args, `OO:StretchDraw`, [@_oRect, @_oGraphic] )
<> 0) and
Thanks.
Good Dev..
Joined: 29 Apr 2005
Posts: 103
errors in wrapdelphigraphics ?
Good catch! Thanks.
--- In pythonfordelphi@yahoogroups.com, "jobbyworld2" <jobbyworld@...>
wrote:
>
> It seems there is a little error in
> TPyDelphiCanvas.StretchDraw_Wrapper in module wrapdelphigraphics :
>
> oRect is object and not array of int so
>
>
>
> replace this line
>
>
>
> if (PyArg_ParseTuple( args, `iiO:StretchDraw`, [@_oRect, @_oGraphic] )
> <> 0) and
>
>
>
> by
>
>
>
> if (PyArg_ParseTuple( args, `OO:StretchDraw`, [@_oRect, @_oGraphic] )
> <> 0) and
>
>
>
> Thanks.
>
> Good Dev..
>
All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
China Wholesale - Electronics Products
Character Studio - Tutorials and Help
China Wholesale - Electronics Products
Character Studio - Tutorials and Help







