[Igarden-commit] Garden/source/Reports RGReport.cpp, 1.7.2.6, 1.7.2.7 RGReport.h, 1.3.2.2, 1.3.2.3
Status: Beta
Brought to you by:
jlbedell
|
From: Jeffrey B. <jlb...@us...> - 2008-05-14 13:09:12
|
Update of /cvsroot/igarden/Garden/source/Reports In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv6411/source/Reports Modified Files: Tag: Release_branch_v1 RGReport.cpp RGReport.h Log Message: Attach the print dislog to the report dialog instead of the document Index: RGReport.h =================================================================== RCS file: /cvsroot/igarden/Garden/source/Reports/RGReport.h,v retrieving revision 1.3.2.2 retrieving revision 1.3.2.3 diff -C2 -d -r1.3.2.2 -r1.3.2.3 *** RGReport.h 28 Dec 2006 00:44:37 -0000 1.3.2.2 --- RGReport.h 14 May 2008 13:09:14 -0000 1.3.2.3 *************** *** 105,109 **** void Run(short viewID); ! void Print(); // void PrintPreview(XGView *view); void DrawPage(XGDraw &draw, Rect *r, UInt32 page); --- 105,109 ---- void Run(short viewID); ! void Print(XGDialog *dlog); // void PrintPreview(XGView *view); void DrawPage(XGDraw &draw, Rect *r, UInt32 page); Index: RGReport.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/Reports/RGReport.cpp,v retrieving revision 1.7.2.6 retrieving revision 1.7.2.7 diff -C2 -d -r1.7.2.6 -r1.7.2.7 *** RGReport.cpp 29 Mar 2008 20:28:45 -0000 1.7.2.6 --- RGReport.cpp 14 May 2008 13:09:14 -0000 1.7.2.7 *************** *** 108,112 **** { _parent->OKClicked(this, dlog); ! _parent->Print(); } --- 108,112 ---- { _parent->OKClicked(this, dlog); ! _parent->Print(dlog); } *************** *** 187,191 **** } ! void RGReport::Print() { short first, last, n; --- 187,191 ---- } ! void RGReport::Print(XGDialog *dlog) { short first, last, n; *************** *** 195,199 **** bool abort; ! if(GPrinter.PrintJob(&first, &last, _doc->GetWindow()) != 0) return; --- 195,199 ---- bool abort; ! if(GPrinter.PrintJob(&first, &last, dlog /*_doc->GetWindow()*/ ) != 0) return; |