OK, I figured it out. It was basically right the first time. I was bit in the backside by macro side effects. Turns out NUM2INT causes its argument to be called twice so it was double shifting. This version doesn''t do that. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
Committed, thanks alex Roy Sutton wrote:> OK, I figured it out. It was basically right the first time. I was > bit in the backside by macro side effects. Turns out NUM2INT causes > its argument to be called twice so it was double shifting. This > version doesn''t do that.
Possibly Parallel Threads
- typemap.i patch
- Fix for non-centered windows
- typemap.i.patch
- [1080] trunk/wxruby2/swig: Moved typemaps specific to SystemSetting out of general typemap file
- [961] branches/wxruby2/wxwidgets_282/swig: Move wxDateTime typemap into shared file, map to core Time class instead