Sean Long wrote:> Somewhere along the way the xrcid function got removed from
> Functions.i, this will add it back.
I don''t think we can blindly cast from char* to const wxChar *, due to
unicode issues. After removing the logXxx portions of this patch, I
refactored it some and changed to using a local wxString temporary
variable. It''s in.
I''m not sure how to test this one, so I''m sure you''ll
let me know if I
messed it up. Here''s my proof that at least it doesn''t crash:
kevins@aria:~/work/wxruby2$ irb
irb(main):001:0> require ''wx''
=> true
irb(main):002:0> Wx::xrcid("Hello")
=> 103
irb(main):003:0> Wx::xrcid("ielfjelsfelifj")
=> 104
irb(main):004:0> Wx::xrcid("OK")
=> 105
irb(main):005:0> exit
kevins@aria:~/work/wxruby2$
> Kevin I hope you like these small patches, you are going to get a lot.
:-)
I love getting patches from people! It makes my job SOOO much easier.
And I would much rather deal with many small patches than a few large
ones. So keep them coming!
Thanks,
Kevin