X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e306597309a120f2ae91385c731a5cb2722c52aa..44cf9b50eef370cc94a6c1f249693dee3776d619:/docs/latex/wx/prevwin.tex diff --git a/docs/latex/wx/prevwin.tex b/docs/latex/wx/prevwin.tex index fbf2203a4f..36d65927a1 100644 --- a/docs/latex/wx/prevwin.tex +++ b/docs/latex/wx/prevwin.tex @@ -1,4 +1,3 @@ - \section{\class{wxPreviewCanvas}}\label{wxpreviewcanvas} A preview canvas is the default canvas used by the print preview @@ -11,6 +10,10 @@ system to display the preview. \helpref{wxevthandler}{wxevthandler}\\ \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{See also} \helpref{wxPreviewFrame}{wxpreviewframe}, \helpref{wxPreviewControlBar}{wxpreviewcontrolbar},\rtfsp @@ -52,6 +55,10 @@ or you can leave it as it is. \helpref{wxEvtHandler}{wxevthandler}\\ \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{See also} \helpref{wxPreviewFrame}{wxpreviewframe}, \helpref{wxPreviewCanvas}{wxpreviewcanvas},\rtfsp @@ -121,6 +128,10 @@ class may be used without derivation. \helpref{wxEvtHandler}{wxevthandler}\\ \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{See also} \helpref{wxPreviewCanvas}{wxpreviewcanvas}, \helpref{wxPreviewControlBar}{wxpreviewcontrolbar},\rtfsp @@ -130,11 +141,12 @@ class may be used without derivation. \membersection{wxPreviewFrame::wxPreviewFrame} -\func{}{wxPreviewFrame}{\param{wxPrintPreview* }{preview}, \param{wxFrame* }{parent}, \param{const wxString\& }{title}, +\func{}{wxPreviewFrame}{\param{wxPrintPreview* }{preview}, \param{wxWindow* }{parent}, \param{const wxString\& }{title}, \param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& size }{size = wxDefaultSize}, \param{long}{ style = wxDEFAULT\_FRAME\_STYLE}, \param{const 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. \membersection{wxPreviewFrame::\destruct{wxPreviewFrame}} @@ -161,7 +173,7 @@ a user-defined preview canvas object to be created. \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