#include </home/zeitlin/src/wx/github/interface/wx/print.h>
Inheritance diagram for wxPreviewCanvas:A preview canvas is the default canvas used by the print preview system to display the preview.
Public Member Functions | |
| wxPreviewCanvas (wxPrintPreview *preview, wxWindow *parent, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name="canvas") | |
| Constructor. | |
| virtual | ~wxPreviewCanvas () |
| Destructor. | |
| void | OnPaint (wxPaintEvent &event) |
| Calls wxPrintPreview::PaintPage() to refresh the canvas. | |
| wxPreviewCanvas::wxPreviewCanvas | ( | wxPrintPreview * | preview, |
| wxWindow * | parent, | ||
| const wxPoint & | pos = wxDefaultPosition, |
||
| const wxSize & | size = wxDefaultSize, |
||
| long | style = 0, |
||
| const wxString & | name = "canvas" |
||
| ) |
Constructor.
| virtual wxPreviewCanvas::~wxPreviewCanvas | ( | ) | [virtual] |
Destructor.
| void wxPreviewCanvas::OnPaint | ( | wxPaintEvent & | event | ) |
Calls wxPrintPreview::PaintPage() to refresh the canvas.