\member{wxDocument*}{m\_viewDocument}
The document associated with this view. There may be more than one view per
document, but there can never be more than one document for one view.
\member{wxDocument*}{m\_viewDocument}
The document associated with this view. There may be more than one view per
document, but there can never be more than one document for one view.
\member{wxFrame*}{m\_viewFrame}
Frame associated with the view, if any.
\member{wxFrame*}{m\_viewFrame}
Frame associated with the view, if any.
\member{wxString}{m\_viewTypeName}
The view type name given to the wxDocTemplate constructor, copied to this
variable when the view is created. Not currently used by the framework.
\member{wxString}{m\_viewTypeName}
The view type name given to the wxDocTemplate constructor, copied to this
variable when the view is created. Not currently used by the framework.
\func{virtual bool}{Close}{\param{bool}{ deleteWindow = true}}
Closes the view by calling OnClose. If {\it deleteWindow} is true, this function should
delete the window associated with the view.
\func{virtual bool}{Close}{\param{bool}{ deleteWindow = true}}
Closes the view by calling OnClose. If {\it deleteWindow} is true, this function should
delete the window associated with the view.
\constfunc{wxString}{GetViewName}{\void}
Gets the name associated with the view (passed to the wxDocTemplate constructor).
Not currently used by the framework.
\constfunc{wxString}{GetViewName}{\void}
Gets the name associated with the view (passed to the wxDocTemplate constructor).
Not currently used by the framework.
\func{virtual void}{OnActivateView}{\param{bool }{activate}, \param{wxView *}{activeView}, \param{wxView *}{deactiveView}}
Called when a view is activated by means of wxView::Activate. The default implementation does
nothing.
\func{virtual void}{OnActivateView}{\param{bool }{activate}, \param{wxView *}{activeView}, \param{wxView *}{deactiveView}}
Called when a view is activated by means of wxView::Activate. The default implementation does
nothing.
\func{virtual void}{OnChangeFilename}{\void}
Called when the filename has changed. The default implementation constructs a
suitable title and sets the title of the view frame (if any).
\func{virtual void}{OnChangeFilename}{\void}
Called when the filename has changed. The default implementation constructs a
suitable title and sets the title of the view frame (if any).
when the document is opened). {\it hint} is as yet unused but may in future contain
application-specific information for making updating more efficient.
when the document is opened). {\it hint} is as yet unused but may in future contain
application-specific information for making updating more efficient.
\func{void}{SetDocument}{\param{wxDocument* }{doc}}
Associates the given document with the view. Normally called by the
framework.
\func{void}{SetDocument}{\param{wxDocument* }{doc}}
Associates the given document with the view. Normally called by the
framework.
See \helpref{GetFrame}{wxviewgetframe} for the explanation about the mismatch
between the ``Frame'' in the method name and the type of its parameter.
See \helpref{GetFrame}{wxviewgetframe} for the explanation about the mismatch
between the ``Frame'' in the method name and the type of its parameter.