From e0af255db2f44120679852d2cd3b15789f36c0c7 Mon Sep 17 00:00:00 2001 From: luca Date: Mon, 21 Jan 2008 10:02:29 +0000 Subject: [PATCH] Patch level :10.0 Files correlati : Ricompilazione Demo : [ ] Commento :aggiunti parametri di immagin bottone nel caso di bottoni nativi git-svn-id: svn://10.65.10.50/trunk@16014 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- include/mask.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/mask.cpp b/include/mask.cpp index 738495105..f5f1fe4d1 100755 --- a/include/mask.cpp +++ b/include/mask.cpp @@ -1806,9 +1806,7 @@ TButton_field& TMask::add_button ( // { TButton_field* f = new TButton_field(this); - f->construct(id, prompt, x, y, dy, win(page), flags, dx); - if (bmpup > 0) - f->set_bmp(bmpup, bmpdn); + f->construct(id, prompt, x, y, dy, win(page), flags, dx, bmpup, bmpdn); add_field(f); return *f; }