Patch level : 10.0

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :
Aggiunta gestione bottone per impostazione stampante


git-svn-id: svn://10.65.10.50/trunk@16649 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2008-05-22 13:42:14 +00:00
parent ca4435a8db
commit 73bebc2249
2 changed files with 34 additions and 27 deletions

View File

@ -110,6 +110,13 @@ void TButton_tool::create(WINDOW toolbar)
if (_ctl_data._bmp_up <= 0)
_ctl_data._bmp_up = BMP_PRINT;
break;
case DLG_SETPRINT:
if (_ctl_data._prompt.empty())
_ctl_data._prompt = TR("Imposta Stampante");
set_exit_key(M_FILE_PG_SETUP);
if (_ctl_data._bmp_up <= 0)
_ctl_data._bmp_up = BMP_SETPRINT;
break;
case DLG_QUIT:
if (_ctl_data._prompt.empty())
_ctl_data._prompt = TR("Fine");