Displaying 1 result from an estimated 1 matches for "rhour".
Did you mean:
hour
2007 Apr 13
0
[961] branches/wxruby2/wxwidgets_282/swig: Move wxDateTime typemap into shared file, map to core Time class instead
.../datetime.h>
+%}
+
+%typemap(in) const wxDateTime& {
+ int y = NUM2INT(rb_funcall($input, rb_intern("year"), 0));
+ int rMonth = NUM2INT(rb_funcall($input, rb_intern("month"), 0));
+ int rDay = NUM2INT(rb_funcall($input, rb_intern("mday"), 0));
+ int rHour = NUM2INT(rb_funcall($input, rb_intern("hour"), 0));
+ int rMinute = NUM2INT(rb_funcall($input, rb_intern("min"), 0));
+ int rSecond = NUM2INT(rb_funcall($input, rb_intern("sec"), 0));
+ wxDateTime::Month mon = (wxDateTime::Month)(rMonth-1);
+ wxDateTime::w...