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:
parent
37e05f9df2
commit
93cb7b5487
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user