This is to add back the << operator to TextCtrl it got removed somewhere along the way. Sean _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
Sean Long wrote:> This is to add back the << operator to TextCtrl it got removed > somewhere along the way.This one wouldn''t compile for me. Looks like another unicode issue. I changed one line to: *ptr << wxString(StringValuePtr(value), wxConvUTF8); and now it seems ok, so I checked it in. I don''t have a working TextCtrl sample on my system yet, so I couldn''t test it :-( One question: Should we raise an exception if none of the types match, instead of returning silently? Kevin
Kevin Smith wrote:> and now it seems ok, so I checked it in. I don''t have a working TextCtrl > sample on my system yet, so I couldn''t test it :-(Doh! I spoke too soon. Your patch also removed a %ignore line, and without that, I can''t construct any TextCtrl objects. I re-inserted the ignore, and was able to at lesat construct a TextCtrl (although I still don''t have a good sample that I can use for testing because Notebook isn''t supported on Linux yet. NOW it''s in. Kevin