Thank you for your fast answers! The problem is solved - you were right, the
problem was how I called the handle function - I forgot to return a value from
My_Window_2::handle(int event) and simply wrote
int My_Window_2::handle(int event){
My_Window::handle(event);
/*......*/
return 0; // some stupid unnoticed remainder from a previous code
}
Obviously the answer is
int My_Window_2::handle(int event){
int res=My_Window::handle(event);
return res;
}
That also explains why FL_PUSH and FL_RELEASE were correctly recognised but not
FL_DRAG.
Thanks a lot!
_______________________________________________
fltk-opengl mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-opengl