From f33396842a7bdecef5c1de6f80b145a096bbeabc Mon Sep 17 00:00:00 2001
From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Tue, 13 Apr 1999 08:14:19 +0000
Subject: [PATCH] some typos in docs and code corrected (thanks Janos)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 docs/latex/wx/list.tex   | 2 +-
 docs/latex/wx/region.tex | 4 ++--
 src/common/docview.cpp   | 1 -
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/docs/latex/wx/list.tex b/docs/latex/wx/list.tex
index af43ec1d2c..91c439dfa9 100644
--- a/docs/latex/wx/list.tex
+++ b/docs/latex/wx/list.tex
@@ -215,7 +215,7 @@ Returns the first node in the list (NULL if the list is empty).
 
 \func{int}{IndexOf}{\param{wxObject*}{ obj }}
 
-Returns the index of {\it obj} within the list or NOT\_FOUND if {\it obj}
+Returns the index of {\it obj} within the list or NOT\_FOUND if {\it obj} 
 is not found in the list.
 
 \membersection{wxList::Insert}
diff --git a/docs/latex/wx/region.tex b/docs/latex/wx/region.tex
index ad356d307a..6e9af5db8c 100644
--- a/docs/latex/wx/region.tex
+++ b/docs/latex/wx/region.tex
@@ -114,10 +114,10 @@ is stored in this region.
 
 \constfunc{bool}{IsEmpty}{\void}
 
-\func{bool}{IsEmpty}{\void}
-
 Returns TRUE if the region is empty, FALSE otherwise.
 
+\membersection{wxRegion::Subtract}\label{wxregionsubstract}
+
 \func{bool}{Subtract}{\param{const wxRect\&}{ rect}}
 
 Subtracts a rectangular region from this region.
diff --git a/src/common/docview.cpp b/src/common/docview.cpp
index 4d94a0abcf..056ca6f48e 100644
--- a/src/common/docview.cpp
+++ b/src/common/docview.cpp
@@ -594,7 +594,6 @@ wxDocTemplate::wxDocTemplate(wxDocManager *manager,
                              long flags)
 {
     m_documentManager = manager;
-    m_flags = flags;
     m_description = descr;
     m_directory = dir;
     m_defaultExt = ext;
-- 
2.50.0

