X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a75ba66de8f9dd3ebac0f41ec2e27be6d95aa73..aa0ff209bc82d0f7c48263bb28609769d09f051b:/docs/latex/wx/view.tex diff --git a/docs/latex/wx/view.tex b/docs/latex/wx/view.tex index f3dd426189..f364dc1322 100644 --- a/docs/latex/wx/view.tex +++ b/docs/latex/wx/view.tex @@ -1,8 +1,19 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Name: view.tex +%% Purpose: wxView documentation +%% Author: wxWidgets Team +%% Modified by: +%% Created: +%% RCS-ID: $Id$ +%% Copyright: (c) wxWidgets Team +%% License: wxWindows license +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \section{\class{wxView}}\label{wxview} The view class can be used to model the viewing and editing component of an application's file-based data. It is part of the document/view framework supported by wxWidgets, -and cooperates with the \helpref{wxDocument}{wxdocument}, \helpref{wxDocTemplate}{wxdoctemplate} +and cooperates with the \helpref{wxDocument}{wxdocument}, \helpref{wxDocTemplate}{wxdoctemplate} and \helpref{wxDocManager}{wxdocmanager} classes. \wxheading{Derived from} @@ -60,11 +71,10 @@ Destructor. Removes itself from the document's list of views. Call this from your view frame's OnActivate member to tell the framework which view is currently active. If your windowing system doesn't call OnActivate, you may need to -call this function from OnMenuCommand or any place where you know the view must +call this function from any place where you know the view must be active, and the framework will need to get the current view. -The prepackaged view frame wxDocChildFrame calls wxView::Activate from its OnActivate member -and from its OnMenuCommand member. +The prepackaged view frame wxDocChildFrame calls wxView::Activate from its OnActivate member. This function calls wxView::OnActivateView. @@ -164,7 +174,7 @@ Override to return an instance of a class other than wxDocPrintout. \membersection{wxView::OnDraw}\label{onviewondraw} -\func{virtual void}{OnDraw}{\param{wxDC\& }{dc}} +\func{virtual void}{OnDraw}{\param{wxDC* }{dc}} Override this function to render the view on the given device context. @@ -200,4 +210,3 @@ between the ``Frame'' in the method name and the type of its parameter. Sets the view type name. Should only be called by the framework. -