[wxruby-users] Wx::Font.new fails in a Runtime Error

Alex Fenton alex at pressure.to
Sat Oct 25 09:45:15 EDT 2008


Кирилл Лиходедов wrote:
>
> Andreas, you definitely have much more descriptive messages.
> It looks like a problem of Windows version WxRuby, because Ruby itself 
> doesn't have these problems.
>
> Does anybody know if anything can be done with it, maybe in future 
> releases?

The quality of error messages related to wrong types of arguments was 
improved in recent versions of SWIG. I'll double-check that the next 
windows build is done with the latest version.

But when doing some development on Windows recently I had some similar 
problems -  ie I was getting a segfault where it should be raising an 
exception. Which is pretty annoying b/c it's hard to track these down. 
I'll investigate further.

cheers
alex


More information about the wxruby-users mailing list