X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/954b8ae60391d18b87a604e7919c87c0c6ae208b..75736a9c818f10e49b51506d967759fbecb4fa66:/docs/latex/wx/prevwin.tex diff --git a/docs/latex/wx/prevwin.tex b/docs/latex/wx/prevwin.tex index 93681025de..36d65927a1 100644 --- a/docs/latex/wx/prevwin.tex +++ b/docs/latex/wx/prevwin.tex @@ -141,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}} @@ -172,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