Cleaned up so it follows Ruby coding style and uses ID_EXIT, ID_ABOUT. Sean _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
Committed, thanks. Also fixed a small bug with method name in set_blink_speed. The arrow keys still don''t work for me - the key codes when I press arrow keys don''t match up with the values in Wx::K_LEFT etc. I think this may be because I am using a unicode build, and we need to support Wx::KeyEvent#get_unicode_key. Are you testing on a unicode or ANSI build please? Thanks alex Sean Long wrote:> Cleaned up so it follows Ruby coding style and uses ID_EXIT, ID_ABOUT. > > Sean > ------------------------------------------------------------------------ > > _______________________________________________ > wxruby-users mailing list > wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users
> I think this may be because I am using a unicode build, and we need to > support Wx::KeyEvent#get_unicode_key. Are you testing on a unicode or > ANSI build please?I am using an ANSI build and the keys work fine on it. I did notice that if I hit the page down key it will crash the app, I think it was somtehing about the key number being out of character range. Sean
On Mon, 2006-08-21 at 12:31 -0700, Sean Long wrote:> > I think this may be because I am using a unicode build, and we need to > > support Wx::KeyEvent#get_unicode_key. Are you testing on a unicode or > > ANSI build please? > > I am using an ANSI build and the keys work fine on it. I did notice > that if I hit the page down key it will crash the app, I think it was > somtehing about the key number being out of character range.I''m not sure if you guys are talking specifically about OS X or not. On my Linux unicode build, the arrow keys work, and PgUp does not crash. Kevin
I am talking about OS X specifically. Sean On 8/21/06, Kevin Smith <wxruby at qualitycode.com> wrote:> On Mon, 2006-08-21 at 12:31 -0700, Sean Long wrote: > > > I think this may be because I am using a unicode build, and we need to > > > support Wx::KeyEvent#get_unicode_key. Are you testing on a unicode or > > > ANSI build please? > > > > I am using an ANSI build and the keys work fine on it. I did notice > > that if I hit the page down key it will crash the app, I think it was > > somtehing about the key number being out of character range. > > I''m not sure if you guys are talking specifically about OS X or not. On > my Linux unicode build, the arrow keys work, and PgUp does not crash. > > Kevin > > > _______________________________________________ > wxruby-users mailing list > wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users >