X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a660d684eda27638bca0384b2058911a31c8e845..4e28924cdb58dfbba0ec6cd5d52ef1346d0cb569:/docs/latex/wx/prevwin.tex?ds=sidebyside

diff --git a/docs/latex/wx/prevwin.tex b/docs/latex/wx/prevwin.tex
index 30793384b0..93681025de 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}
+
+<wx/print.h>
+
 \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}
+
+<wx/print.h>
+
 \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}
+
+<wx/print.h>
+
 \wxheading{See also}
 
 \helpref{wxPreviewCanvas}{wxpreviewcanvas}, \helpref{wxPreviewControlBar}{wxpreviewcontrolbar},\rtfsp
@@ -167,9 +178,9 @@ 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
