$szTitle = "wxpreviewcanvas"; include "./_header.inc"; ?>
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.
include "./_footer.inc"; ?>