A preview canvas is the default canvas used by the print preview system to display the preview.
Derived from
wxScrolledWindow
wxWindow
wxevthandler
wxObject
Include files
<wx/print.h>
See also
wxPreviewFrame, wxPreviewControlBar, wxPrintPreview
Members
wxPreviewCanvas::wxPreviewCanvas
wxPreviewCanvas::~wxPreviewCanvas
wxPreviewCanvas::OnPaint
wxPreviewCanvas(wxPrintPreview* preview, wxWindow* parent, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, const wxString& name = "canvas")
Constructor.
~wxPreviewCanvas()
Destructor.
void OnPaint(wxPaintEvent& event)
Calls wxPrintPreview::PaintPage to refresh the canvas.