wxPreviewFrame

wxPreviewFrame

wxPreviewFrame
Functions for wxPreviewFrame class

This class provides the default method of managing the print preview interface. Member functions may be overridden to replace functionality, or the class may be used without derivation.

See: wxPreviewCanvas, wxPreviewControlBar, wxPrintPreview

This class is derived (and can use functions) from: wxFrame wxTopLevelWindow wxWindow wxEvtHandler

wxWidgets docs: wxPreviewFrame

Types

Creates a wxPreviewControlBar.

Override this function to allow a user-defined preview control bar object to be created.

Types

Creates a wxPreviewCanvas.

Override this function to allow a user-defined preview canvas object to be created.

Types

Initializes the frame elements and prepares for showing it.

Calling this method is equivalent to calling InitializeWithModality() (not implemented in wx) with wxPreviewFrame_AppModal argument, please see its documentation for more details.

Please notice that this function is virtual mostly for backwards compatibility only, there is no real need to override it as it's never called by wxWidgets itself.

Enables any disabled frames in the application, and deletes the print preview object, implicitly deleting any printout objects associated with the print preview object.