-
\section{\class{wxPreviewCanvas}}\label{wxpreviewcanvas}
A preview canvas is the default canvas used by the print preview
\helpref{wxevthandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
+\wxheading{Include files}
+
+<wx/print.h>
+
\wxheading{See also}
\helpref{wxPreviewFrame}{wxpreviewframe}, \helpref{wxPreviewControlBar}{wxpreviewcontrolbar},\rtfsp
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
+\wxheading{Include files}
+
+<wx/print.h>
+
\wxheading{See also}
\helpref{wxPreviewFrame}{wxpreviewframe}, \helpref{wxPreviewCanvas}{wxpreviewcanvas},\rtfsp
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
+\wxheading{Include files}
+
+<wx/print.h>
+
\wxheading{See also}
\helpref{wxPreviewCanvas}{wxpreviewcanvas}, \helpref{wxPreviewControlBar}{wxpreviewcontrolbar},\rtfsp
\func{void}{Initialize}{\void}
Creates the preview canvas and control bar, and calls
-wxWindow::MakeModal(TRUE) to disable other top-level windows
+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.
-\membersection{wxPreviewFrame::OnClose}
+\membersection{wxPreviewFrame::OnCloseWindow}
-\func{bool}{OnClose}{\void}
+\func{void}{OnCloseWindow}{\param{wxCloseEvent\&}{ event}}
Enables the other frames in the application, and deletes the print preview
object, implicitly deleting any printout objects associated with the print