mod/maxgui.mod/fltkmaxgui.mod/src/Fl.cxx
void Fl::clear_widget_pointer(Fl_Widget const *w) 
{
  if (w==0L) return;
  int i;
  for (i=0; i<num_widget_watch; ++i) {
    if (widget_watch[i] && *widget_watch[i]==w) {
      *widget_watch[i] = 0L;
    }
  }
}
/**
  Clears a widget pointer \e in the watch list.

  This is called when a widget is destroyed (by its destructor). You should never
  call this directly.

  \note Internal use only !

  This method searches the widget watch list for pointers to the widget and
  clears each pointer that points to it. Widget pointers can be added to the
  widget watch list by calling Fl::watch_widget_pointer() or by using the
  helper class Fl_Widget_Tracker (recommended).

  \see Fl::watch_widget_pointer()
  \see class Fl_Widget_Tracker
*/
Clears a widget pointer \e in the watch list.
This is called when a widget is destroyed (by its destructor). You should never
call this directly.

\note Internal use only !

This method searches the widget watch list for pointers to the widget and
clears each pointer that points to it. Widget pointers can be added to the
widget watch list by calling Fl::watch_widget_pointer() or by using the
helper class Fl_Widget_Tracker (recommended).


Clears a widget pointer \ e in the watch list . This is called when a widget is destroyed ( by its destructor ) . You should never call this directly . \ note Internal use only ! This method searches the widget watch list for pointers to the widget and clears each pointer that points to it . Widget pointers can be added to the widget watch list by calling Fl :: watch_widget_pointer () or by using the helper class Fl_Widget_Tracker ( recommended ) .
void Fl::clear_widget_pointer(Fl_Widget const *w) 
{
  if (w==0L) return;
  int i;
  for (i=0; i<num_widget_watch; ++i) {
    if (widget_watch[i] && *widget_watch[i]==w) {
      *widget_watch[i] = 0L;
    }
  }
}
void Fl :: clear_widget_pointer ( Fl_Widget const * w ) { if ( w == 0L ) return ; int i ; for ( i = 0 ; i < num_widget_watch ; ++ i ) { if ( widget_watch [ i ] && * widget_watch [ i ] == w ) { * widget_watch [ i ] = 0L ; } } }
Clears a widget pointer \e in the watch list.
Clears a widget pointer \ e in the watch list .