>
> > The problem seemed to stem from the fact that, in the derived ::handle()
> > method, I was not calling the handle method of the base class.
> > Once I started calling the handle method of the base class, things got a
> > lot better...! So, *maybe* just adding
> >
> > int res =3D Fl_Gl_Window::handle(event); // or equivalent!
> >
> > Near the top of your handle method might be enough to fix things up.
>
>
> the child glwindow still dosent recive mouse events.
>
> im doing the equivalent in my main window.
> am i supposed to forward events to the child glwindow?
>
>
im beginning to think this is a bug
void Widget::cursor(fltk::Cursor* c) const {
Window* window = is_window() ? (Window*)this : this->window();
if (!window) return;
while (window->parent()) window = window->window();
CreatedWindow* i = CreatedWindow::find(window); <-- this returns 0
if (!i) return;
HCURSOR xcursor;
if (!c) {...
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk