int ShBtnAddButton::handle_event()
{
-
+
Preferences *preferences = sb_window->shbtn_edit->pwindow->thread->preferences;
ShBtnPref *pref = new ShBtnPref(_("new"), "", 0);
preferences->shbtn_prefs.append(pref);
}
ShBtnErrWarn::ShBtnErrWarn(ShBtnTextWindow *st_window, int x, int y)
- : BC_CheckBox(x, y, &st_window->warn, "Warn on err exit")
+ : BC_CheckBox(x, y, &st_window->warn, _("Warn on err exit"))
{
this->st_window = st_window;
}
add_subwindow(cmd_name);
cmd_text = new BC_ScrollTextBox(this, x1, y, get_w()-x1-20, 4, pref->commands);
cmd_text->create_objects();
- y += cmd_text->get_h() + 8;
+ y += cmd_text->get_h() + 16;
add_subwindow(st_err_warn = new ShBtnErrWarn(this, x1, y));
y = get_h() - ShBtnTextOK::calculate_h() - 10;
add_subwindow(new ShBtnTextOK(this, x, y));