[wxruby-users] argument type error in StyledTextControl 'LineFromPosition'

Alex Fenton alex at pressure.to
Tue Sep 16 10:58:52 EDT 2008


Zhimin Zhan wrote:
> I got the following error when I was randomly clicking margins and lines
> in a StyledTextControl (3 margins). It doesn't occur often, usually
> happens after many clicks (20 or so).
>
> Expected argument 1 of type int, but got Wxruby2::Point #<Wx::Point:
> (1753743404, 0)>
>   in SWIG method 'LineFromPosition'
>   
Thanks for the report. I can reproduce this issue but I don't know why 
it is happening. I've filed it as a bug for fixing:

http://rubyforge.org/tracker/?func=detail&atid=218&aid=21985&group_id=35

cheers
alex


More information about the wxruby-users mailing list