From: "Marvin Gülker" Date: 2009-09-26T17:02:54+09:00 Subject: Re: wxruby - painting in device context Haris Bogdanovi� wrote: > dc.draw_bitmap(Bitmap.new('c:\img.bmp'),0,0) # and for this > program crashes You may want to use a forward slash / instead of the backslash, even on Windows. An alternative is to escape the backslash by duplicating it: "C:/img.bmp" or "C:\\img.bmp" Marvin -- Posted via http://www.ruby-forum.com/.