summaryrefslogtreecommitdiff
path: root/documentation/opengl.html
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/opengl.html')
-rw-r--r--documentation/opengl.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/opengl.html b/documentation/opengl.html
index 8a5ab0aa7..2de7430e3 100644
--- a/documentation/opengl.html
+++ b/documentation/opengl.html
@@ -104,8 +104,8 @@ int MyWindow::handle(int event) {
... Return 1 if you understand/use the shortcut event, 0 otherwise...
return 1;
default:
- // tell FLTK that I don't understand other events
- return 0;
+ // pass other events to the base class...
+ return Fl_Gl_Window::handle(event);
}
}
</PRE>