1009
1010
1011
1012
1013
1014
1015
1016
fn error_box(msg: String) {
fltk::app::lock().unwrap();
fltk::dialog::message_title("Error");
fltk::dialog::message_set_hotspot(true);
fltk::dialog::message_icon_label("!");
fltk::dialog::message_default(&msg);
fltk::app::unlock();
}