Patch level :2.0 partners nopatch

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :corretto errore di compilazione dovuto a nuova implementazione stampe


git-svn-id: svn://10.65.10.50/trunk@11593 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2003-11-12 16:43:41 +00:00
parent 14e3b78eb7
commit 8170c4aa45
2 changed files with 5 additions and 3 deletions

View File

@ -115,7 +115,7 @@ protected:
virtual bool destroy(void);
virtual void main_loop();
static void process_link(int id, const char * lnk);
static bool process_link(int id, const char * lnk);
static void genera_ordine();
static bool fast_filter(const TRelation* rel);
@ -236,7 +236,7 @@ void TRicerca::add_range_filter(const char * field, short fid, short tid) const
}
//metodo ascetico per generare le righe di uno sheet dalla setlinkhandler (vedi la chiamata + sotto)
void TRicerca::process_link(int id, const char * lnk)
bool TRicerca::process_link(int id, const char * lnk)
{
TSheet_field& sheet = _ordmask->sfield(F_RIGHE);
TToken_string& row = sheet.row(-1);
@ -256,6 +256,7 @@ void TRicerca::process_link(int id, const char * lnk)
genera_ordine(); //chiama il metodo x la generazione dell'ordine
break;
}
return false;
}
// metodo x la generazione dell'ordine

View File

@ -949,7 +949,7 @@ bool TStampa_schede_mag::handle_adata(TMask_field& f, KEY k)
return TRUE;
}
static void linker(int n, const char* str)
static bool linker(int n, const char* str)
{
TString80 ss; ss << "1|";
@ -979,6 +979,7 @@ static void linker(int n, const char* str)
dispatch_e_char(viswin, K_ESC); // Chiude la viswin dell'anteprima
app().autorun(); // forza il rilancio della stampa senza maschera
}
return false;
}
bool TStampa_schede_mag::create()