First, I eliminated all the compile warnings, at least on my system. If
you get any warnings when you compile wxruby, please let me know.
Next, I finally switched the last remaining MixedCaseFunction to follow
the ruby_naming_convention: App#OnInit. Now, on startup, App will first
try to call your on_init, but if it doesn''t find that it will try the
old OnInit form. I encourage you to switch your code to use on_init, but
will probably keep OnInit compatibility for quite a while.
Then, I created a sample app demonstrating the new drag and drop
capabilities. It allows you to drag listbox items to another list, or to
another app running on your system. Along the way, I fixed a few little
bugs in wxruby.
The sample, which is samples/etc/dragdrop.rb also includes a sample of
the listbox-style control that I like best. I struggled a while with
ListBox, Grid, and ListCtrl before getting ListCtrl to behave in a
mostly sane and usable way.
It also demonstrates some simple layout tricks.
I have not tried any drag and drop functionality beyond what you see in
this app. Perhaps later I''ll try dragging files or custom objects, but
if someone else gets tries it first I''ll be really happy :-)
Cheers,
Kevin