diff options
Diffstat (limited to 'src/Fl_Widget.cxx')
| -rw-r--r-- | src/Fl_Widget.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Fl_Widget.cxx b/src/Fl_Widget.cxx index 740dad6fd..e1fa13b79 100644 --- a/src/Fl_Widget.cxx +++ b/src/Fl_Widget.cxx @@ -296,13 +296,14 @@ Fl_Widget::copy_label(const char *a) { /** Calls the widget callback. Causes a widget to invoke its callback function with arbitrary arguments. + \param[in] o call the callback with \a o as the widget argument - \param[in] arg call the callback with \a arg as the user data argument + \param[in] arg use \a arg as the user data argument \see callback() */ void Fl_Widget::do_callback(Fl_Widget* o,void* arg) { - Fl_Watch wp(o); + Fl_Widget_Tracker wp(o); callback_(o,arg); if (wp.deleted()) return; if (callback_ != default_callback) |
