summaryrefslogtreecommitdiff
path: root/src/Fl_Window.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Window.cxx')
-rw-r--r--src/Fl_Window.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/Fl_Window.cxx b/src/Fl_Window.cxx
index 32459d367..70b9c7f47 100644
--- a/src/Fl_Window.cxx
+++ b/src/Fl_Window.cxx
@@ -168,17 +168,14 @@ void Fl::default_atclose(Fl_Window* window, void* v) {
window->hide();
Fl_Widget::default_callback(window, v); // put on Fl::read_queue()
}
-
+/** Back compatibility: default window callback handler \see Fl::set_atclose() */
void (*Fl::atclose)(Fl_Window*, void*) = default_atclose;
-/**
- Sets the default callback v for win to call on close event.
- <P> For back compatibility only.
-*/
+/** Back compatibility: Sets the default callback v for win to call on close event */
void Fl_Window::default_callback(Fl_Window* win, void* v) {
Fl::atclose(win, v);
}
-/** Returns the last window that was made current. */
+/** Returns the last window that was made current. \see Fl_Window::make_current() */
Fl_Window *Fl_Window::current() {
return current_;
}