.\" This is a wxWidgets manpage page generated from the XML docs .TH wxPreviewCanvas 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxPreviewCanvas \- Canvas for displaying a print preview .SH DESCRIPTION A preview canvas is the default canvas used by the print preview system to display the preview. .SH "PARENTS" wxScrolledWindow wxWindow wxevthandler wxObject .SH "INCLUDE FILES" wx/print.h .SH MEMBERS .SS wxPreviewCanvas (wxPrintPreview* previewwxWindow* parentconst wxPoint& pos = wxDefaultPositionconst wxSize& size = wxDefaultSizelong style = 0const wxString& name = ``canvas") Constructor. .SS ~wxPreviewCanvas () Destructor. .SS void OnPaint (wxPaintEvent& event) Calls wxPrintPreview::PaintPage to refresh the canvas. .SH "SEE ALSO" wxScrolledWindow wxWindow wxevthandler wxObject wxPreviewFrame wxPreviewControlBar , wxPrintPreview .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.