]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/printfw.h
Fixed style setting
[wxWidgets.git] / wxPython / src / printfw.h
CommitLineData
2abc0a0f
RD
1/////////////////////////////////////////////////////////////////////////////
2// Name: printfw.h
3// Purpose: Exposing the class definition of wxPyPrintout so it can be
4// used by wxHtmlPrintout. Must be included after helpers.h
5//
6// Author: Robin Dunn
7//
8// Created: 29-Oct-1999
9// RCS-ID: $Id$
10// Copyright: (c) 1999 by Total Control Software
11// Licence: wxWindows license
12/////////////////////////////////////////////////////////////////////////////
13
14
15
16class wxPyPrintout : public wxPrintout {
17public:
18 wxPyPrintout(const wxString& title) : wxPrintout(title) {}
19
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);
27
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);
31
32 PYPRIVATE;
33};