mod/maxgui.mod/fltkmaxgui.mod/src/Fl.cxx
void Fl::remove_handler(Fl_Event_Handler ha) {
  handler_link *l, *p;

  // Search for the handler in the list...
  for (l = handlers, p = 0; l && l->handle != ha; p = l, l = l->next);

  if (l) {
    // Found it, so remove it from the list...
    if (p) p->next = l->next;
    else handlers = l->next;

    // And free the record...
    delete l;
  }
}
/**
  Removes a previously added event handler.
*/
Removes a previously added event handler.
Removes a previously added event handler .
void Fl::remove_handler(Fl_Event_Handler ha) {
  handler_link *l, *p;
  for (l = handlers, p = 0; l && l->handle != ha; p = l, l = l->next);
  if (l) {
    if (p) p->next = l->next;
    else handlers = l->next;
    delete l;
  }
}
void Fl :: remove_handler ( Fl_Event_Handler ha ) { handler_link * l , * p ; for ( l = handlers , p = 0 ; l && l -> handle != ha ; p = l , l = l -> next ) ; if ( l ) { if ( p ) p -> next = l -> next ; else handlers = l -> next ; delete l ; } }
Removes a previously added event handler.
Removes a previously added event handler .
// Search for the handler in the list... // Found it, so remove it from the list... // And free the record...