Small correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -35,8 +35,7 @@ document child frames surrounded by an overall frame), SDI (a separate, unconstr
|
|||||||
for each document), or single-window (one document open at a time, as in Windows Write).
|
for each document), or single-window (one document open at a time, as in Windows Write).
|
||||||
\item Use the appropriate wxDocParentFrame and wxDocChildFrame classes. Construct an instance
|
\item Use the appropriate wxDocParentFrame and wxDocChildFrame classes. Construct an instance
|
||||||
of wxDocParentFrame in your wxApp::OnInit, and a wxDocChildFrame (if not single-window) when
|
of wxDocParentFrame in your wxApp::OnInit, and a wxDocChildFrame (if not single-window) when
|
||||||
you initialize a view. Create menus using standard menu ids (such as wxID\_OPEN, wxID\_PRINT),
|
you initialize a view. Create menus using standard menu ids (such as wxID\_OPEN, wxID\_PRINT).
|
||||||
routing non-application-specific identifiers to the base frame's OnMenuCommand.
|
|
||||||
\item Construct a single wxDocManager instance at the beginning of your wxApp::OnInit, and then
|
\item Construct a single wxDocManager instance at the beginning of your wxApp::OnInit, and then
|
||||||
as many wxDocTemplate instances as necessary to define relationships between documents and
|
as many wxDocTemplate instances as necessary to define relationships between documents and
|
||||||
views. For a simple application, there will be just one wxDocTemplate.
|
views. For a simple application, there will be just one wxDocTemplate.
|
||||||
@@ -185,8 +184,7 @@ If you do not wish to use the wxWidgets method of creating document
|
|||||||
objects dynamically, you must override wxDocTemplate::CreateDocument
|
objects dynamically, you must override wxDocTemplate::CreateDocument
|
||||||
and wxDocTemplate::CreateView to return instances of the appropriate class.
|
and wxDocTemplate::CreateView to return instances of the appropriate class.
|
||||||
|
|
||||||
{\it NOTE}: the document template has nothing to do with the C++ template construct. C++
|
{\it NOTE}: the document template has nothing to do with the C++ template construct.
|
||||||
templates are not used anywhere in wxWidgets.
|
|
||||||
|
|
||||||
\subsection{wxDocManager overview}\label{wxdocmanageroverview}
|
\subsection{wxDocManager overview}\label{wxdocmanageroverview}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user