X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d2c2afc91be4bdb6e036516785f334ddb54afa0c..f1e7793361bb0106611e5d1373b4e1e6ed30f14f:/docs/latex/wx/doctempl.tex diff --git a/docs/latex/wx/doctempl.tex b/docs/latex/wx/doctempl.tex index ebae77f6ef..afaaea357e 100644 --- a/docs/latex/wx/doctempl.tex +++ b/docs/latex/wx/doctempl.tex @@ -154,6 +154,9 @@ Creates a new instance of the associated document class. If you have not supplie a wxClassInfo parameter to the template constructor, you will need to override this function to return an appropriate document instance. +This function calls wxDocTemplate::InitDocument which in turns +calls wxDocument::OnCreate. + \membersection{wxDocTemplate::CreateView} \func{wxView *}{CreateView}{\param{wxDocument *}{doc}, \param{long}{ flags = 0}} @@ -210,6 +213,13 @@ Returns the flags, as passed to the document template constructor. Returns the view type name, as passed to the document template constructor. +\membersection{wxDocTemplate::InitDocument} + +\func{bool}{InitDocument}{\param{wxDocument* }{doc}, \param{const wxString\& }{path}, \param{long}{ flags = 0}} + +Initialises the document, calling wxDocument::OnCreate. This is called from +wxDocTemplate::CreateDocument. + \membersection{wxDocTemplate::IsVisible} \func{bool}{IsVisible}{\void}