{
}
-int ErrorBox::create_objects(const char *text)
+void ErrorBox::create_objects(const char *text)
{
+ lock_window("ErrorBox::create_objects");
int x = 10, y = 10;
add_subwindow(new BC_Title(get_w() / 2,
y = get_h() - 50;
add_tool(new BC_OKButton(x, y));
show_window(1);
- return 0;
+ unlock_window();
}