]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/src/printfw.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Exposing the class definition of wxPyPrintout so it can be
4 // used by wxHtmlPrintout. Must be included after helpers.h
8 // Created: 29-Oct-1999
10 // Copyright: (c) 1999 by Total Control Software
11 // Licence: wxWindows license
12 /////////////////////////////////////////////////////////////////////////////
16 class wxPyPrintout
: public wxPrintout
{
18 wxPyPrintout(const wxString
& title
) : wxPrintout(title
) {}
20 DEC_PYCALLBACK_BOOL_INTINT(OnBeginDocument
);
21 DEC_PYCALLBACK__(OnEndDocument
);
22 DEC_PYCALLBACK__(OnBeginPrinting
);
23 DEC_PYCALLBACK__(OnEndPrinting
);
24 DEC_PYCALLBACK__(OnPreparePrinting
);
25 DEC_PYCALLBACK_BOOL_INT_pure(OnPrintPage
);
26 DEC_PYCALLBACK_BOOL_INT(HasPage
);
28 // Since this one would be tough and ugly to do with the Macros...
29 void GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
);
30 void base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
);