X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6d06e061dc11140151be2914c30c759ee15e3fe7..bcf576ccfe754a634034203aa133c02fb5d2f964:/docs/latex/wx/view.tex diff --git a/docs/latex/wx/view.tex b/docs/latex/wx/view.tex index fc6c64b7a7..aaf4389f67 100644 --- a/docs/latex/wx/view.tex +++ b/docs/latex/wx/view.tex @@ -124,7 +124,7 @@ suitable title and sets the title of the view frame (if any). Implements closing behaviour. The default implementation calls wxDocument::Close to close the associated document. Does not delete the view. The application may wish to do some cleaning up operations in this function, {\it if} a -call to wxDocument::Close succeeded. For example, if your application's +call to wxDocument::Close succeeded. For example, if your views all share the same window, you need to disassociate the window from the view and perhaps clear the window. If {\it deleteWindow} is true, delete the frame associated with the view. @@ -162,6 +162,12 @@ and previews one page by calling wxView::OnDraw. Override to return an instance of a class other than wxDocPrintout. +\membersection{wxView::OnDraw}\label{onviewondraw} + +\func{virtual void}{OnDraw}{\param{wxDC\& }{dc}} + +Override this function to render the view on the given device context. + \membersection{wxView::OnUpdate}\label{onviewonupdate} \func{virtual void}{OnUpdate}{\param{wxView* }{sender}, \param{wxObject* }{hint}}