Version: 2.9.4
Public Member Functions
wxPreviewCanvas Class Reference

#include </home/zeitlin/src/wx/github/interface/wx/print.h>

Inheritance diagram for wxPreviewCanvas:

Detailed Description

A preview canvas is the default canvas used by the print preview system to display the preview.

Library:  wxBase
Category:  Printing Framework
参照:
wxPreviewFrame, wxPreviewControlBar, wxPrintPreview

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.

List of all members.


Constructor & Destructor Documentation

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.


Member Function Documentation

void wxPreviewCanvas::OnPaint ( wxPaintEvent event)

Calls wxPrintPreview::PaintPage() to refresh the canvas.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines