1998-05-20 10:25:30 -04:00
|
|
|
\section{\class{wxDocument}}\label{wxdocument}
|
|
|
|
|
|
|
|
The document class can be used to model an application's file-based
|
2004-05-04 04:27:20 -04:00
|
|
|
data. It is part of the document/view framework supported by wxWidgets,
|
1998-05-20 10:25:30 -04:00
|
|
|
and cooperates with the \helpref{wxView}{wxview}, \helpref{wxDocTemplate}{wxdoctemplate}\rtfsp
|
|
|
|
and \helpref{wxDocManager}{wxdocmanager} classes.
|
|
|
|
|
|
|
|
\wxheading{Derived from}
|
|
|
|
|
|
|
|
\helpref{wxEvtHandler}{wxevthandler}\\
|
|
|
|
\helpref{wxObject}{wxobject}
|
|
|
|
|
1999-02-15 15:41:29 -05:00
|
|
|
\wxheading{Include files}
|
|
|
|
|
|
|
|
<wx/docview.h>
|
|
|
|
|
1998-05-20 10:25:30 -04:00
|
|
|
\wxheading{See also}
|
|
|
|
|
|
|
|
\helpref{wxDocument overview}{wxdocumentoverview}, \helpref{wxView}{wxview},\rtfsp
|
|
|
|
\helpref{wxDocTemplate}{wxdoctemplate}, \helpref{wxDocManager}{wxdocmanager}
|
|
|
|
|
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::m\_commandProcessor}\label{wxdocumentmcommandprocessor}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\member{wxCommandProcessor*}{m\_commandProcessor}
|
|
|
|
|
|
|
|
A pointer to the command processor associated with this document.
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::m\_documentFile}\label{wxdocumentmdocumentfile}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\member{wxString}{m\_documentFile}
|
|
|
|
|
|
|
|
Filename associated with this document (``" if none).
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::m\_documentModified}\label{wxdocumentmdocumentmodified}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\member{bool}{m\_documentModified}
|
|
|
|
|
2003-01-17 19:16:34 -05:00
|
|
|
true if the document has been modified, false otherwise.
|
1998-05-20 10:25:30 -04:00
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::m\_documentTemplate}\label{wxdocumentmdocumenttemplate}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\member{wxDocTemplate *}{m\_documentTemplate}
|
|
|
|
|
|
|
|
A pointer to the template from which this document was created.
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::m\_documentTitle}\label{wxdocumentmdocumenttitle}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\member{wxString}{m\_documentTitle}
|
|
|
|
|
|
|
|
Document title. The document title is used for an associated
|
|
|
|
frame (if any), and is usually constructed by the framework from
|
|
|
|
the filename.
|
|
|
|
|
|
|
|
\membersection{wxDocument::m\_documentTypeName}\label{documenttypename}
|
|
|
|
|
|
|
|
\member{wxString}{m\_documentTypeName}
|
|
|
|
|
|
|
|
The document type name given to the wxDocTemplate constructor, copied to this
|
|
|
|
variable when the document is created. If several document templates are
|
|
|
|
created that use the same document type, this variable is used in wxDocManager::CreateView
|
|
|
|
to collate a list of alternative view types that can be used on this kind of
|
|
|
|
document. Do not change the value of this variable.
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::m\_documentViews}\label{wxdocumentmdocumentviews}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\member{wxList}{m\_documentViews}
|
|
|
|
|
|
|
|
List of wxView instances associated with this document.
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::wxDocument}\label{wxdocumentctor}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\func{}{wxDocument}{\void}
|
|
|
|
|
|
|
|
Constructor. Define your own default constructor to initialize application-specific
|
|
|
|
data.
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::\destruct{wxDocument}}\label{wxdocumentdtor}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\func{}{\destruct{wxDocument}}{\void}
|
|
|
|
|
|
|
|
Destructor. Removes itself from the document manager.
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::AddView}\label{wxdocumentaddview}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\func{virtual bool}{AddView}{\param{wxView *}{view}}
|
|
|
|
|
|
|
|
If the view is not already in the list of views, adds the view and calls OnChangedViewList.
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::Close}\label{wxdocumentclose}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\func{virtual bool}{Close}{\void}
|
|
|
|
|
2003-01-17 19:16:34 -05:00
|
|
|
Closes the document, by calling OnSaveModified and then (if this returned true) OnCloseDocument.
|
1998-05-20 10:25:30 -04:00
|
|
|
This does not normally delete the document object: use DeleteAllViews to do this implicitly.
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::DeleteAllViews}\label{wxdocumentdeleteviews}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\func{virtual bool}{DeleteAllViews}{\void}
|
|
|
|
|
|
|
|
Calls wxView::Close and deletes each view. Deleting the final view will implicitly
|
|
|
|
delete the document itself, because the wxView destructor calls RemoveView. This
|
|
|
|
in turns calls wxDocument::OnChangedViewList, whose default implemention is to
|
|
|
|
save and delete the document if no views exist.
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::GetCommandProcessor}\label{wxdocumentgetcommandprocessor}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\constfunc{wxCommandProcessor*}{GetCommandProcessor}{\void}
|
|
|
|
|
|
|
|
Returns a pointer to the command processor associated with this document.
|
|
|
|
|
|
|
|
See \helpref{wxCommandProcessor}{wxcommandprocessor}.
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::GetDocumentTemplate}\label{wxdocumentgetdocumenttemplate}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\constfunc{wxDocTemplate*}{GetDocumentTemplate}{\void}
|
|
|
|
|
|
|
|
Gets a pointer to the template that created the document.
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::GetDocumentManager}\label{wxdocumentgetdocumentmanager}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\constfunc{wxDocManager*}{GetDocumentManager}{\void}
|
|
|
|
|
|
|
|
Gets a pointer to the associated document manager.
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::GetDocumentName}\label{wxdocumentgetdocumentname}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\constfunc{wxString}{GetDocumentName}{\void}
|
|
|
|
|
|
|
|
Gets the document type name for this document. See the comment for \helpref{documentTypeName}{documenttypename}.
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::GetDocumentWindow}\label{wxdocumentgetdocumentwindow}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\constfunc{wxWindow*}{GetDocumentWindow}{\void}
|
|
|
|
|
|
|
|
Intended to return a suitable window for using as a parent for document-related
|
|
|
|
dialog boxes. By default, uses the frame associated with the first view.
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::GetFilename}\label{wxdocumentgetfilename}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\constfunc{wxString}{GetFilename}{\void}
|
|
|
|
|
1999-02-24 03:02:28 -05:00
|
|
|
Gets the filename associated with this document, or "" if none is
|
1998-05-20 10:25:30 -04:00
|
|
|
associated.
|
|
|
|
|
1999-05-06 04:38:01 -04:00
|
|
|
\membersection{wxDocument::GetFirstView}\label{wxdocumentgetfirstview}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
1999-04-13 07:26:25 -04:00
|
|
|
\constfunc{wxView *}{GetFirstView}{\void}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
A convenience function to get the first view for a document, because
|
|
|
|
in many cases a document will only have a single view.
|
|
|
|
|
1999-04-13 07:26:25 -04:00
|
|
|
See also: \helpref{GetViews}{wxdocumentgetviews}
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::GetPrintableName}\label{wxdocumentgetprintablename}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\constfunc{virtual void}{GetPrintableName}{\param{wxString\& }{name}}
|
|
|
|
|
|
|
|
Copies a suitable document name into the supplied {\it name} buffer. The default
|
|
|
|
function uses the title, or if there is no title, uses the filename; or if no
|
|
|
|
filename, the string {\bf unnamed}.
|
|
|
|
|
2003-10-19 05:09:12 -04:00
|
|
|
\perlnote{In wxPerl this function must return the modified name rather
|
|
|
|
than just modifying the argument.}
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::GetTitle}\label{wxdocumentgettitle}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\constfunc{wxString}{GetTitle}{\void}
|
|
|
|
|
|
|
|
Gets the title for this document. The document title is used for an associated
|
|
|
|
frame (if any), and is usually constructed by the framework from
|
|
|
|
the filename.
|
|
|
|
|
1999-05-06 04:38:01 -04:00
|
|
|
\membersection{wxDocument::GetViews}\label{wxdocumentgetviews}
|
1999-04-13 07:26:25 -04:00
|
|
|
|
|
|
|
\constfunc{wxList \&}{GetViews}{\void}
|
|
|
|
|
|
|
|
Returns the list whose elements are the views on the document.
|
|
|
|
|
|
|
|
See also: \helpref{GetFirstView}{wxdocumentgetfirstview}
|
|
|
|
|
1998-05-20 10:25:30 -04:00
|
|
|
\membersection{wxDocument::IsModified}\label{wxdocumentismodified}
|
|
|
|
|
|
|
|
\constfunc{virtual bool}{IsModified}{\void}
|
|
|
|
|
2003-01-17 19:16:34 -05:00
|
|
|
Returns true if the document has been modified since the last save, false otherwise.
|
1998-05-20 10:25:30 -04:00
|
|
|
You may need to override this if your document view maintains its own
|
|
|
|
record of being modified (for example if using wxTextWindow to view and edit the document).
|
|
|
|
|
|
|
|
See also \helpref{Modify}{wxdocumentmodify}.
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::LoadObject}\label{wxdocumentloadobject}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\func{virtual istream\&}{LoadObject}{\param{istream\& }{stream}}
|
|
|
|
|
2000-03-14 19:21:49 -05:00
|
|
|
\func{virtual wxInputStream\&}{LoadObject}{\param{wxInputStream\& }{stream}}
|
|
|
|
|
1998-05-20 10:25:30 -04:00
|
|
|
Override this function and call it from your own LoadObject before
|
|
|
|
streaming your own data. LoadObject is called by the framework
|
|
|
|
automatically when the document contents need to be loaded.
|
|
|
|
|
2004-05-04 04:27:20 -04:00
|
|
|
Note that only one of these forms exists, depending on how wxWidgets
|
2000-03-14 19:21:49 -05:00
|
|
|
was configured.
|
|
|
|
|
1998-05-20 10:25:30 -04:00
|
|
|
\membersection{wxDocument::Modify}\label{wxdocumentmodify}
|
|
|
|
|
|
|
|
\func{virtual void}{Modify}{\param{bool}{ modify}}
|
|
|
|
|
2003-01-17 19:16:34 -05:00
|
|
|
Call with true to mark the document as modified since the last save, false otherwise.
|
1998-05-20 10:25:30 -04:00
|
|
|
You may need to override this if your document view maintains its own
|
|
|
|
record of being modified (for example if using wxTextWindow to view and edit the document).
|
|
|
|
|
|
|
|
See also \helpref{IsModified}{wxdocumentismodified}.
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::OnChangedViewList}\label{wxdocumentonchangedviewlist}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\func{virtual void}{OnChangedViewList}{\void}
|
|
|
|
|
|
|
|
Called when a view is added to or deleted from this document. The default
|
|
|
|
implementation saves and deletes the document if no views exist (the last
|
|
|
|
one has just been removed).
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::OnCloseDocument}\label{wxdocumentonclosedocument}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\func{virtual bool}{OnCloseDocument}{\void}
|
|
|
|
|
|
|
|
The default implementation calls DeleteContents (an empty implementation)
|
2003-01-17 19:16:34 -05:00
|
|
|
sets the modified flag to false. Override this to
|
1998-05-20 10:25:30 -04:00
|
|
|
supply additional behaviour when the document is closed with Close.
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::OnCreate}\label{wxdocumentoncreate}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\func{virtual bool}{OnCreate}{\param{const wxString\& }{path}, \param{long}{ flags}}
|
|
|
|
|
|
|
|
Called just after the document object is created to give it a chance
|
|
|
|
to initialize itself. The default implementation uses the
|
|
|
|
template associated with the document to create an initial view.
|
2003-01-17 19:16:34 -05:00
|
|
|
If this function returns false, the document is deleted.
|
1998-05-20 10:25:30 -04:00
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::OnCreateCommandProcessor}\label{wxdocumentoncreatecommandprocessor}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\func{virtual wxCommandProcessor*}{OnCreateCommandProcessor}{\void}
|
|
|
|
|
|
|
|
Override this function if you want a different (or no) command processor
|
|
|
|
to be created when the document is created. By default, it returns
|
|
|
|
an instance of wxCommandProcessor.
|
|
|
|
|
|
|
|
See \helpref{wxCommandProcessor}{wxcommandprocessor}.
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::OnNewDocument}\label{wxdocumentonnewdocument}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\func{virtual bool}{OnNewDocument}{\void}
|
|
|
|
|
|
|
|
The default implementation calls OnSaveModified and DeleteContents, makes a default title for the
|
|
|
|
document, and notifies the views that the filename (in fact, the title) has changed.
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::OnOpenDocument}\label{wxdocumentonopendocument}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\func{virtual bool}{OnOpenDocument}{\param{const wxString\& }{filename}}
|
|
|
|
|
1999-02-24 03:02:28 -05:00
|
|
|
Constructs an input file stream for the given filename (which must not be empty),
|
2003-01-17 19:16:34 -05:00
|
|
|
and calls LoadObject. If LoadObject returns true, the document is set to
|
1998-05-20 10:25:30 -04:00
|
|
|
unmodified; otherwise, an error message box is displayed. The document's
|
|
|
|
views are notified that the filename has changed, to give windows an opportunity
|
|
|
|
to update their titles. All of the document's views are then updated.
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::OnSaveDocument}\label{wxdocumentonsavedocument}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\func{virtual bool}{OnSaveDocument}{\param{const wxString\& }{filename}}
|
|
|
|
|
1999-02-24 03:02:28 -05:00
|
|
|
Constructs an output file stream for the given filename (which must not be empty),
|
2003-01-17 19:16:34 -05:00
|
|
|
and calls SaveObject. If SaveObject returns true, the document is set to
|
1998-05-20 10:25:30 -04:00
|
|
|
unmodified; otherwise, an error message box is displayed.
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::OnSaveModified}\label{wxdocumentonsavemodified}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\func{virtual bool}{OnSaveModified}{\void}
|
|
|
|
|
|
|
|
If the document has been modified, prompts the user to ask if the changes should
|
|
|
|
be changed. If the user replies Yes, the Save function is called. If No, the
|
|
|
|
document is marked as unmodified and the function succeeds. If Cancel, the
|
|
|
|
function fails.
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::RemoveView}\label{wxdocumentremoveview}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\func{virtual bool}{RemoveView}{\param{wxView* }{view}}
|
|
|
|
|
|
|
|
Removes the view from the document's list of views, and calls OnChangedViewList.
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::Save}\label{wxdocumentsave}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\func{virtual bool}{Save}{\void}
|
|
|
|
|
|
|
|
Saves the document by calling OnSaveDocument if there is an associated filename,
|
|
|
|
or SaveAs if there is no filename.
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::SaveAs}\label{wxdocumentsaveas}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\func{virtual bool}{SaveAs}{\void}
|
|
|
|
|
|
|
|
Prompts the user for a file to save to, and then calls OnSaveDocument.
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::SaveObject}\label{wxdocumentsaveobject}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\func{virtual ostream\&}{SaveObject}{\param{ostream\& }{stream}}
|
|
|
|
|
2000-03-14 19:21:49 -05:00
|
|
|
\func{virtual wxOutputStream\&}{SaveObject}{\param{wxOutputStream\& }{stream}}
|
|
|
|
|
1998-05-20 10:25:30 -04:00
|
|
|
Override this function and call it from your own SaveObject before
|
|
|
|
streaming your own data. SaveObject is called by the framework
|
|
|
|
automatically when the document contents need to be saved.
|
|
|
|
|
2004-05-04 04:27:20 -04:00
|
|
|
Note that only one of these forms exists, depending on how wxWidgets
|
2000-03-14 19:21:49 -05:00
|
|
|
was configured.
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::SetCommandProcessor}\label{wxdocumentsetcommandprocessor}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\func{virtual void}{SetCommandProcessor}{\param{wxCommandProcessor *}{processor}}
|
|
|
|
|
|
|
|
Sets the command processor to be used for this document. The document will then be responsible
|
|
|
|
for its deletion. Normally you should not call this; override OnCreateCommandProcessor
|
|
|
|
instead.
|
|
|
|
|
|
|
|
See \helpref{wxCommandProcessor}{wxcommandprocessor}.
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::SetDocumentName}\label{wxdocumentsetdocumentname}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\func{void}{SetDocumentName}{\param{const wxString\& }{name}}
|
|
|
|
|
|
|
|
Sets the document type name for this document. See the comment for \helpref{documentTypeName}{documenttypename}.
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::SetDocumentTemplate}\label{wxdocumentsetdocumenttemplate}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\func{void}{SetDocumentTemplate}{\param{wxDocTemplate* }{templ}}
|
|
|
|
|
|
|
|
Sets the pointer to the template that created the document. Should only be called by the
|
|
|
|
framework.
|
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::SetFilename}\label{wxdocumentsetfilename}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
2003-01-17 19:16:34 -05:00
|
|
|
\func{void}{SetFilename}{\param{const wxString\& }{filename}, \param{bool}{ notifyViews = false}}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
Sets the filename for this document. Usually called by the framework.
|
|
|
|
|
2003-01-17 19:16:34 -05:00
|
|
|
If {\it notifyViews} is true, wxView::OnChangeFilename is called for all views.
|
2000-07-15 15:51:35 -04:00
|
|
|
|
2004-09-30 07:15:59 -04:00
|
|
|
\membersection{wxDocument::SetTitle}\label{wxdocumentsettitle}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\func{void}{SetTitle}{\param{const wxString\& }{title}}
|
|
|
|
|
|
|
|
Sets the title for this document. The document title is used for an associated
|
|
|
|
frame (if any), and is usually constructed by the framework from
|
|
|
|
the filename.
|
|
|
|
|
1998-09-16 17:52:23 -04:00
|
|
|
\membersection{wxDocument::UpdateAllViews}\label{wxdocumentupdateallviews}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
2001-01-02 11:42:03 -05:00
|
|
|
\func{void}{UpdateAllViews}{\param{wxView* }{sender = NULL}, \param{wxObject*}{ hint = NULL}}
|
1998-09-16 17:52:23 -04:00
|
|
|
|
|
|
|
Updates all views. If {\it sender} is non-NULL, does not update this view.
|
1998-12-28 07:35:49 -05:00
|
|
|
|
2001-01-02 11:42:03 -05:00
|
|
|
{\it hint} represents optional information to allow a view to optimize its update.
|
|
|
|
|