Pedro, Without digging into it more, I think the bug is actually in your MainWindow::translate_cb() method.
I'd say that it looks like that is *not* invoking the right callback, but since the casting makes the types "look" right it is attempting to invoke the translate() method of some random bit of memory. You need to dig into that, I think, and figure out how best to get a widget pointer that actually is pointing to your mygl widget, as what you have at present definitely is not... _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

