Displaying 1 result from an estimated 1 matches for "wxstring_to_ruby".
2005 Mar 16
1
Re: Unicode support
How about this: we expose the known conversions of wxMBConv to wxruby
global methods. Then we create a $WXSTRING_TO_RUBY and $RUBY_TO_WXSTRING
globals that has a reference to those procs. In the ruby-string to
wxString typemap, we use ruby to invoke $WXSTRING_TO_RUBY and
$RUBY_TO_WXSTRING. That way, if people want a different method, they can
write one (even a pure-ruby one) that changes the behavior.
Nick
> (r...