.\" This is a wxWidgets manpage page generated from the XML docs .TH wxPreviewFrame 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxPreviewFrame \- Frame for displaying a print preview .SH DESCRIPTION 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. .SH "PARENTS" wxFrame wxWindow wxEvtHandler wxObject .SH "INCLUDE FILES" wx/print.h .SH MEMBERS .SS wxPreviewFrame (wxPrintPreview* previewwxWindow* parentconst wxString& titleconst wxPoint& pos = wxDefaultPositionconst wxSize& size = wxDefaultSizelong style = wxDEFAULT_FRAME_STYLEconst wxString& name = ``frame") Constructor. Pass a print preview object plus other normal frame arguments. The print preview object will be destroyed by the frame when it closes. .SS ~wxPreviewFrame () Destructor. .SS void CreateControlBar () Creates a wxPreviewControlBar. Override this function to allow a user-defined preview control bar object to be created. .SS void CreateCanvas () Creates a wxPreviewCanvas. Override this function to allow a user-defined preview canvas object to be created. .SS void Initialize () Creates the preview canvas and control bar, and calls wxWindow::MakeModal(true) to disable other top-level windows in the application. This function should be called by the application prior to showing the frame. .SS void OnCloseWindow (wxCloseEvent& event) Enables the other frames in the application, and deletes the print preview object, implicitly deleting any printout objects associated with the print preview object. .SH "SEE ALSO" wxFrame wxWindow wxEvtHandler wxObject wxPreviewCanvas wxPreviewControlBar , wxPrintPreview .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.