Re: No joy from Wx::App.dispatch, Wx::App.yield

Mario S. 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

Jay McGavren wrote:

In a pop-up dialog:

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

Thanks for the report. gdiplus.dll became a new dependency in 1.9.3 with
the addition of the GraphicsContext classes for antialiased drawing. We
build and test on Win XP where it’s always available, and didn’t realise
it wasn’t included in a default install of W2K. However it seems it can
downloaded and installed for free on 2000, and is often required by
other apps.

Zyps looks a fascinating project, perhaps the most interesting I’ve seen
in Ruby GUI programming. I’m keen to try it out; do let me know when
there’s a release, or even when it’s runnable from SVN with wxRuby.

alex