I just checked in some good fixes. You can see the (full) Changelog
here: http://qualitycode.com/repos/wxruby/ChangeLog
Notable items:
- Added shanko''s grid sample (thanks!)
- Added support for ComboBox#get_value
- Fixed *all* the known crashing bugs.
The way I "fixed" the problems with get_client_data was to remove the
set_client_data and get_client_data implementations. I *think* they are
really only necessary in a static language like C++. I was able to
remove the few uses of them from our samples pretty easily. If you have
an app that uses them, I can help you figure out a workaround. I plan to
support them in the upcoming swig version of wxRuby.
I also removed Event#get_event_object. This one was also easy to remove
from the sample code, but I am less sure that it won''t be needed in
real
applications. Again, I can help you find a workaround, and it will be
supported in the swig version.
The other crash fixes (in TreeCtrl and ListCtrl) turned out to be much
easier than I had thought. The new code is smaller and simpler than the
old code, in addition to avoiding the crashes. Yea!
I need to check the README file(s) to see if anything needs to be
changed in them. Otherwise, I think I''m ready to call this the 0.4.0
release. There were a few other change requests that I had hoped to get
in, but each of them would be too much effort at this point. Most of
them will be zero-effort when (or after) we shift to swig.
Let me know right away if there are any other urgent requests for 0.4.
Otherwise, we will do the binary builds later this week.
Thanks,
Kevin