Version: 3.1.0
print.h File Reference

Classes

class  wxPreviewControlBar
 This is the default implementation of the preview control bar, a panel with buttons and a zoom control. More...
 
class  wxPreviewCanvas
 A preview canvas is the default canvas used by the print preview system to display the preview. More...
 
class  wxPreviewFrame
 This class provides the default method of managing the print preview interface. More...
 
class  wxPrintPreview
 Objects of this class manage the print preview process. More...
 
class  wxPrinter
 This class represents the Windows or PostScript printer, and is the vehicle through which printing may be launched by an application. More...
 
class  wxPrintout
 This class encapsulates the functionality of printing out an application document. More...
 
class  wxPrintAbortDialog
 The dialog created by default by the print framework that enables aborting the printing process. More...
 

Macros

#define wxPREVIEW_PRINT   1
 
#define wxPREVIEW_PREVIOUS   2
 
#define wxPREVIEW_NEXT   4
 
#define wxPREVIEW_ZOOM   8
 
#define wxPREVIEW_FIRST   16
 
#define wxPREVIEW_LAST   32
 
#define wxPREVIEW_GOTO   64
 
#define wxPREVIEW_DEFAULT
 
#define wxID_PREVIEW_CLOSE   1
 
#define wxID_PREVIEW_NEXT   2
 
#define wxID_PREVIEW_PREVIOUS   3
 
#define wxID_PREVIEW_PRINT   4
 
#define wxID_PREVIEW_ZOOM   5
 
#define wxID_PREVIEW_FIRST   6
 
#define wxID_PREVIEW_LAST   7
 
#define wxID_PREVIEW_GOTO   8
 
#define wxID_PREVIEW_ZOOM_IN   9
 
#define wxID_PREVIEW_ZOOM_OUT   10
 

Enumerations

enum  wxPrinterError {
  wxPRINTER_NO_ERROR = 0,
  wxPRINTER_CANCELLED,
  wxPRINTER_ERROR
}
 
enum  wxPreviewFrameModalityKind {
  wxPreviewFrame_AppModal,
  wxPreviewFrame_WindowModal,
  wxPreviewFrame_NonModal
}
 Preview frame modality kind. More...
 

Macro Definition Documentation

#define wxID_PREVIEW_CLOSE   1
#define wxID_PREVIEW_FIRST   6
#define wxID_PREVIEW_GOTO   8
#define wxID_PREVIEW_LAST   7
#define wxID_PREVIEW_NEXT   2
#define wxID_PREVIEW_PREVIOUS   3
#define wxID_PREVIEW_PRINT   4
#define wxID_PREVIEW_ZOOM   5
#define wxID_PREVIEW_ZOOM_IN   9
#define wxID_PREVIEW_ZOOM_OUT   10
#define wxPREVIEW_DEFAULT
Value:
#define wxPREVIEW_FIRST   16
#define wxPREVIEW_GOTO   64
#define wxPREVIEW_LAST   32
#define wxPREVIEW_NEXT   4
#define wxPREVIEW_PREVIOUS   2
#define wxPREVIEW_PRINT   1
#define wxPREVIEW_ZOOM   8

Enumeration Type Documentation

Preview frame modality kind.

The elements of this enum can be used with wxPreviewFrame::Initialize() to indicate how should the preview frame be shown.

Since
2.9.2
Enumerator
wxPreviewFrame_AppModal 

Disable all the other top level windows while the preview frame is shown.

This is the default behaviour.

wxPreviewFrame_WindowModal 

Disable only the parent window while the preview frame is shown.

wxPreviewFrame_NonModal 

Show the preview frame non-modally and don't disable any other windows.

Enumerator
wxPRINTER_NO_ERROR 
wxPRINTER_CANCELLED 
wxPRINTER_ERROR