STR 1264: Editor uses "delete" instead of the required "delete_widget"

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5081 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher 2006-05-05 13:38:47 +00:00
parent 37e05f9df2
commit 93cb7b5487

View File

@ -616,7 +616,7 @@ void close_cb(Fl_Widget*, void* v) {
w->hide();
textbuf->remove_modify_callback(changed_cb, w);
delete w;
Fl::delete_widget(w);
num_windows--;
if (!num_windows) exit(0);
}