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

Andreas Garnæs lists at ruby-forum.com
Mon Oct 13 09:17:14 EDT 2008


Кирилл Лиходедов wrote:
>     Wx::Font.new(12, Wx::Font::FONTFAMILY_DECORATIVE)

Try replacing that line with:

Wx::Font.new(12, Wx::FONTFAMILY_DECORATIVE, Wx::FONTSTYLE_NORMAL, 
Wx::FONTWEIGHT_NORMAL)

- andreas
-- 
Posted via http://www.ruby-forum.com/.


More information about the wxruby-users mailing list