From: "Haris Bogdanović" Date: 2009-09-26T10:15:06+09:00 Subject: wxruby - painting in device context Hi. I'm trying to paint in DC context: # --------------------------------------------------- frame = Frame.new(nil, -1, "") frame.paint { |dc| dc.draw_line(50, 50, 100, 100) # for this I don't see the line dc.draw_bitmap(Bitmap.new('c:\img.bmp'),0,0) # and for this program crashes } # ----------------------------------------------------------- Does anyone know why is this happening ? Thanks.