List Info

Thread: Re: wxruby 1.9.4 crashes with ruby 1.9.0




Re: wxruby 1.9.4 crashes with ruby 1.9.0
country flaguser name
United States
2008-02-25 08:15:36
No. I don't have any "evt_foo :on_foo" construct in my code.

What else might cause the problem?

Thanks!

----- Original Message ----
From: Alex Fenton <alexpressure.to>
To: General discussion of wxRuby <wxruby-usersrubyforge.org>
Sent: Monday, February 25, 2008 6:14:32 AM
Subject: Re: [wxruby-users] wxruby 1.9.4 crashes with ruby 1.9.0


Zhang Peng wrote:
&gt; I downloaded ruby 1.9.0 and do "make" and "make install" ruby to
> /usr/local ....
>;
> When I tried to run my wxruby code, I got the following message ....

There is a known bug in ruby 1.9.0 which affects event handlers of the
form:
evt_foo :on_foo

Do you have any of these in your code? If so see if it works if you
specify the event handler like this:

evt_foo { | event | on_foo(event) }

http://rubyforge.org/tracker/?func=detail&amp;aid=16625&group_id=426&;atid=1698

alex


_______________________________________________
wxruby-users mailing list
rubyforge.org" href="mailto:wxruby-usersrubyforge.org">wxruby-usersrubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users



Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )