Displaying 1 result from an estimated 1 matches for "dc_draw_lin".
Did you mean:
dc_draw_line
2007 Oct 04
1
wxRuby: MemoryDC problems...
...rawing
to a Wx::Bitmap first, then using Wx::DC#draw_bitmap to copy it to a
Wx::Window. But I get the following error:
C:/ruby/lib/ruby/gems/1.8/gems/wxruby-1.9.1-i386-mswin32/lib/wx/classes/bitmap.rb:18:in
`draw'': uninitialized constant Wxruby2::Bitmap::MemoryDC (NameError)
from dc_draw_line.rb:30:in `on_init''
...
What am I doing wrong? Is MemoryDC not implemented yet in WxRuby
1.9.1? It''s in the documentation, but I know large chunks of that are
auto-generated...
My code is below. Any advice would be most appreciated!
-Jay
gems_loaded = false
begin...