[wxruby-users] No joy from Wx::App.dispatch, Wx::App.yield...

Jay McGavren jay at mcgavren.com
Sat Jan 19 20:33:52 EST 2008


Mario Steele wrote:
> To process an exit event, or rather a close event, utilize
> evt_close event handler.

Well, look at that.  It had always worked on its own before, so I got
lazy.  But one line of code in on_init did it:

  frame.evt_close {|event| exit}

> Also, what errors are you getting with 1.9.3/4?

In a pop-up dialog:

The dynamic link library gdiplus.dll could not be found in the specified path
[long path omitted]

And on STDERR:

C:/ruby/lib/ruby/gems/1.8/gems/wxruby-1.9.4-i386-mswin32/lib/wxruby2.so:
126: The specified module could not be found.   -
C:/ruby/lib/ruby/gems/1.8/gems/wxruby-1.9.4-i386-mswin32/lib/wxruby2.so
(LoadError)

This is on Windows 2000, BTW, I haven't tried it on my XP setup (but
will if needed).

Many thanks for the help!

-Jay McGavren
http://jay.mcgavren.com/zyps


More information about the wxruby-users mailing list