From: Takaaki T. <tt...@ja...> - 2001-09-01 05:04:30
|
At Fri, 31 Aug 2001 20:32:21 -0700 (PDT), Kevin Smith wrote: > class's draw instead. Right now, it is calling > Fl_Widget::draw. But if the widget is actually an > Fl_Window, we still call Fl_Widget::draw because we specify > that class. All subclasses end up calling Fl_Widget::draw. I think this problem would be caused when calling handle(). So I removed `virtual' from the definition of handle() in the class RBFLXxxxx which described in fltk.h. This modified version of rubyfltk seems to be working fine. I wander this solution is effective for draw() and handle(). How do you think about my opinion? -- Takaaki Tateishi <tt...@ja...> |