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

Zhimin Zhan lists at ruby-forum.com
Mon Sep 15 20:21:52 EDT 2008


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'

My env:  wxRuby mingw32 1.9.8,  ruby 1.8.6 p287 on XP

Regards,
Zhimin
-- 
Posted via http://www.ruby-forum.com/.


More information about the wxruby-users mailing list