Jani Monoses wrote:> The recent changes for windows in choice.i (not the unicode change)
> broke the etc/choice.rb and the controls/controls.rb tests.
> ../samples/etc/choice.rb:12:in `initialize'': No matching function
for
> overloaded ''new_wxChoice'' (ArgumentError)
On my system, with the latest build, it gets past that, but gives an
error on line 13:
kevins@aria:~/work/wxruby2/lib$ ruby ../samples/etc/choice.rb
Our Initialize was called
Their Initialize returned 1
../samples/etc/choice.rb:13:in `append'': No matching function for
overloaded ''wxControlWithItems_Append'' (ArgumentError)
from ../samples/etc/choice.rb:13:in `initialize''
from ../samples/etc/choice.rb:51:in `new''
from ../samples/etc/choice.rb:51:in `on_init''
from ../samples/etc/choice.rb:59:in `main_loop''
from ../samples/etc/choice.rb:59
Seems to be the longstanding problem where SWIG can''t correctly
distinguish between overloaded methods. Might be solveable with
typemaps. Or in some cases %rename''s like has been done with wxPython.
I
haven''t looked into this case yet.
But if you''re still seeing a problem on line 12 with the latest build,
I
really want to know why.
Thanks,
Kevin