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, 5 insertions, 4 deletions
diff --git a/src/Fl_Window.cxx b/src/Fl_Window.cxx
index 5e00d8c86..21eec3caa 100644
--- a/src/Fl_Window.cxx
+++ b/src/Fl_Window.cxx
@@ -166,14 +166,15 @@ void Fl::default_atclose(Fl_Window* window, void* v) {
}
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.
+*/
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. */
Fl_Window *Fl_Window::current() {
return current_;
}