X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e306597309a120f2ae91385c731a5cb2722c52aa..a75124d0da255513e83d2e62f963dd849829466b:/docs/latex/wx/prevwin.tex?ds=sidebyside diff --git a/docs/latex/wx/prevwin.tex b/docs/latex/wx/prevwin.tex index fbf2203a4f..33d7d31096 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 @@ -7,10 +6,15 @@ system to display the preview. \wxheading{Derived from} \helpref{wxScrolledWindow}{wxscrolledwindow}\\ +\helpref{wxPanel}{wxpanel}\\ \helpref{wxWindow}{wxwindow}\\ -\helpref{wxevthandler}{wxevthandler}\\ +\helpref{wxEvtHandler}{wxevthandler}\\ \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{See also} \helpref{wxPreviewFrame}{wxpreviewframe}, \helpref{wxPreviewControlBar}{wxpreviewcontrolbar},\rtfsp @@ -18,7 +22,7 @@ system to display the preview. \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxPreviewCanvas::wxPreviewCanvas} +\membersection{wxPreviewCanvas::wxPreviewCanvas}\label{wxpreviewcanvasctor} \func{}{wxPreviewCanvas}{\param{wxPrintPreview* }{preview}, \param{wxWindow* }{parent}, \param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize}, @@ -26,7 +30,7 @@ system to display the preview. Constructor. -\membersection{wxPreviewCanvas::\destruct{wxPreviewCanvas}} +\membersection{wxPreviewCanvas::\destruct{wxPreviewCanvas}}\label{wxpreviewcanvasdtor} \func{}{\destruct{wxPreviewCanvas}}{\void} @@ -52,6 +56,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 @@ -59,7 +67,7 @@ or you can leave it as it is. \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxPreviewControlBar::wxPreviewControlbar} +\membersection{wxPreviewControlBar::wxPreviewControlbar}\label{wxpreviewcontrolbarctor} \func{}{wxPreviewControlBar}{\param{wxPrintPreview* }{preview}, \param{long}{ buttons}, \param{wxWindow* }{parent}, \param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize}, @@ -78,31 +86,31 @@ The buttons parameter may be a combination of the following, using the bitwise ` wxPREVIEW\_ZOOM.} \end{twocollist} -\membersection{wxPreviewControlBar::\destruct{wxPreviewControlBar}} +\membersection{wxPreviewControlBar::\destruct{wxPreviewControlBar}}\label{wxpreviewcontrolbardtor} \func{}{\destruct{wxPreviewControlBar}}{\void} Destructor. -\membersection{wxPreviewControlBar::CreateButtons} +\membersection{wxPreviewControlBar::CreateButtons}\label{wxpreviewcontrolbarcreatebuttons} \func{void}{CreateButtons}{\void} Creates buttons, according to value of the button style flags. -\membersection{wxPreviewControlBar::GetPrintPreview} +\membersection{wxPreviewControlBar::GetPrintPreview}\label{wxpreviewcontrolbargetprintpreview} \func{wxPrintPreview *}{GetPrintPreview}{\void} Gets the print preview object associated with the control bar. -\membersection{wxPreviewControlBar::GetZoomControl} +\membersection{wxPreviewControlBar::GetZoomControl}\label{wxpreviewcontrolbargetzoomcontrol} \func{int}{GetZoomControl}{\void} Gets the current zoom setting in percent. -\membersection{wxPreviewControlBar::SetZoomControl} +\membersection{wxPreviewControlBar::SetZoomControl}\label{wxpreviewcontrolbarsetzoomcontrol} \func{void}{SetZoomControl}{\param{int }{percent}} @@ -117,10 +125,15 @@ class may be used without derivation. \wxheading{Derived from} \helpref{wxFrame}{wxframe}\\ +\helpref{wxTopLevelWindow}{wxtoplevelwindow}\\ \helpref{wxWindow}{wxwindow}\\ \helpref{wxEvtHandler}{wxevthandler}\\ \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{See also} \helpref{wxPreviewCanvas}{wxpreviewcanvas}, \helpref{wxPreviewControlBar}{wxpreviewcontrolbar},\rtfsp @@ -128,46 +141,47 @@ class may be used without derivation. \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxPreviewFrame::wxPreviewFrame} +\membersection{wxPreviewFrame::wxPreviewFrame}\label{wxpreviewframector} -\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}} +\membersection{wxPreviewFrame::\destruct{wxPreviewFrame}}\label{wxpreviewframedtor} \func{}{\destruct{wxPreviewFrame}}{\void} Destructor. -\membersection{wxPreviewFrame::CreateControlBar} +\membersection{wxPreviewFrame::CreateControlBar}\label{wxpreviewframecreatecontrolbar} \func{void}{CreateControlBar}{\void} Creates a wxPreviewControlBar. Override this function to allow a user-defined preview control bar object to be created. -\membersection{wxPreviewFrame::CreateCanvas} +\membersection{wxPreviewFrame::CreateCanvas}\label{wxpreviewframecreatecanvas} \func{void}{CreateCanvas}{\void} Creates a wxPreviewCanvas. Override this function to allow a user-defined preview canvas object to be created. -\membersection{wxPreviewFrame::Initialize} +\membersection{wxPreviewFrame::Initialize}\label{wxpreviewframeinitialize} \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::OnCloseWindow} +\membersection{wxPreviewFrame::OnCloseWindow}\label{wxpreviewframeonclosewindow} \func{void}{OnCloseWindow}{\param{wxCloseEvent\&}{ event}}