wxpreviewcanvasa preview canvas is the default canvas used by the print preview system to display the preview. derived from
wxscrolledwindow include files <wx/print.h> see also wxpreviewframe, wxpreviewcontrolbar, wxprintpreview members
wxpreviewcanvas::wxpreviewcanvas
wxpreviewcanvas::wxpreviewcanvaswxpreviewcanvas(wxprintpreview* preview, wxwindow* parent, const wxpoint& pos = wxdefaultposition, const wxsize& size = wxdefaultsize, long style = 0, const wxstring& name = "canvas") constructor.
wxpreviewcanvas::~wxpreviewcanvas~wxpreviewcanvas() destructor.
wxpreviewcanvas::onpaintvoid onpaint(wxpaintevent& event) calls wxprintpreview::paintpage to refresh the canvas.
|