From 08890e275cae4fa8c5028df5d2b04bb4b0c07525 Mon Sep 17 00:00:00 2001
From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Sun, 28 Aug 2005 16:25:43 +0000
Subject: [PATCH] spelling fixes and other minor corrections to the docs (patch
 1273930 by Andreas Mohr)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 docs/latex/wx/activevt.tex  |  6 +++---
 docs/latex/wx/dynlib.tex    | 12 ++++++++++--
 docs/latex/wx/filename.tex  |  2 +-
 docs/latex/wx/filetype.tex  |  2 +-
 docs/latex/wx/function.tex  |  5 +++--
 docs/latex/wx/mimetype.tex  |  2 +-
 docs/latex/wx/splitter.tex  |  6 +++---
 docs/latex/wx/strmmem.tex   |  4 ++--
 docs/latex/wx/wxstring.tex  |  2 +-
 docs/publicity/announce.txt |  2 +-
 10 files changed, 26 insertions(+), 17 deletions(-)

diff --git a/docs/latex/wx/activevt.tex b/docs/latex/wx/activevt.tex
index 40902dc5e8..03c2285f33 100644
--- a/docs/latex/wx/activevt.tex
+++ b/docs/latex/wx/activevt.tex
@@ -24,17 +24,17 @@ function that takes a wxActivateEvent argument.
 \twocolitem{{\bf EVT\_HIBERNATE(func)}}{Process a hibernate event, supplying the member function.
 This event applies to wxApp only, and only on Windows SmartPhone and PocketPC. It is generated when the
 system is low on memory; the application should free up as much memory as possible, and restore
-full working when it receives a wxEVT\_ACTIVATE or wxEVT\_ACTIVATE\_APP event.}
+full working state when it receives a wxEVT\_ACTIVATE or wxEVT\_ACTIVATE\_APP event.}
 \end{twocollist}%
 
 \wxheading{Remarks}
 
-A top-level window (a dialog or frame) receives an activate event when is
+A top-level window (a dialog or frame) receives an activate event when it is
 being activated or deactivated. This is indicated visually by the title
 bar changing colour, and a subwindow gaining the keyboard focus.
 
 An application is activated or deactivated when one of its frames becomes activated,
-or a frame becomes inactivate resulting in all application frames being inactive. (Windows only)
+or a frame becomes inactivated resulting in all application frames being inactive. (Windows only)
 
 Please note that usually you should call \helpref{event.Skip()}{wxeventskip} in
 your handlers for these events as not doing so can result in strange effects.
diff --git a/docs/latex/wx/dynlib.tex b/docs/latex/wx/dynlib.tex
index 0b125a7da9..bdb6710a25 100644
--- a/docs/latex/wx/dynlib.tex
+++ b/docs/latex/wx/dynlib.tex
@@ -45,7 +45,7 @@ Constructor. Second form calls \helpref{Load}{wxdynamiclibraryload}.
 
 \membersection{wxDynamicLibrary::CanonicalizeName}\label{wxdynamiclibrarycanonicalizename}
 
-\func{wxString}{CanonicalizeName}{\param{const wxString\& }{name}, \param{wxDynamicLibraryCategory}{ cat = wxDL\_LIBRARY}}
+\func{static wxString}{CanonicalizeName}{\param{const wxString\& }{name}, \param{wxDynamicLibraryCategory}{ cat = wxDL\_LIBRARY}}
 
 Returns the platform-specific full name for the library called \arg{name}. E.g.
 it adds a {\tt ".dll"} extension under Windows and {\tt "lib"} prefix and 
@@ -66,7 +66,7 @@ The possible values for \arg{cat} are:
 
 \membersection{wxDynamicLibrary::CanonicalizePluginName}\label{wxdynamiclibrarycanonicalizepluginname}
 
-\func{wxString}{CanonicalizePluginName}{\param{const wxString\& }{name}, \param{wxPluginCategory}{ cat = wxDL\_PLUGIN\_GUI}}
+\func{static wxString}{CanonicalizePluginName}{\param{const wxString\& }{name}, \param{wxPluginCategory}{ cat = wxDL\_PLUGIN\_GUI}}
 
 This function does the same thing as 
 \helpref{CanonicalizeName}{wxdynamiclibrarycanonicalizename} but for wxWidgets
@@ -91,6 +91,14 @@ the library any longer in its destructor but it is now the callers
 responsibility to do this using \helpref{Unload}{wxdynamiclibraryunload}.
 
 
+\membersection{wxDynamicLibrary::GetProgramHandle}\label{wxdynamiclibrarygetprogramhandle}
+
+\func{static wxDllType}{GetProgramHandle}{\void}
+
+Return a valid handle for the main program itself or \texttt{NULL} if symbols
+from the main program can't be loaded on this platform.
+
+
 \membersection{wxDynamicLibrary::GetSymbol}\label{wxdynamiclibrarygetsymbol}
 
 \constfunc{void *}{GetSymbol}{\param{const wxString\& }{name}}
diff --git a/docs/latex/wx/filename.tex b/docs/latex/wx/filename.tex
index 27ced29111..0c0d22dc1e 100644
--- a/docs/latex/wx/filename.tex
+++ b/docs/latex/wx/filename.tex
@@ -698,7 +698,7 @@ any or-combination of the following constants:
 \twocolitem{{\bf wxPATH\_NORM\_ENV\_VARS}}{replace env vars with their values}
 \twocolitem{{\bf wxPATH\_NORM\_DOTS}}{squeeze all .. and . and prepend cwd}
 \twocolitem{{\bf wxPATH\_NORM\_TILDE}}{Unix only: replace ~ and ~user}
-\twocolitem{{\bf wxPATH\_NORM\_CASE}}{if filesystem is case insensitive, transform to tolower case}
+\twocolitem{{\bf wxPATH\_NORM\_CASE}}{if filesystem is case insensitive, transform to lower case}
 \twocolitem{{\bf wxPATH\_NORM\_ABSOLUTE}}{make the path absolute}
 \twocolitem{{\bf wxPATH\_NORM\_LONG}}{make the path the long form}
 \twocolitem{{\bf wxPATH\_NORM\_SHORTCUT}}{resolve if it is a shortcut (Windows only)}
diff --git a/docs/latex/wx/filetype.tex b/docs/latex/wx/filetype.tex
index 15ac25a77c..80b7e85cc4 100644
--- a/docs/latex/wx/filetype.tex
+++ b/docs/latex/wx/filetype.tex
@@ -90,7 +90,7 @@ Now you only need to create an object of this class and pass it to, for example,
 \begin{verbatim}
 wxString command;
 if ( filetype->GetOpenCommand(&command,
-                              MailMessageParamaters("foo.txt", "text/plain")) )
+                              MailMessageParameters("foo.txt", "text/plain")) )
 {
     // the full command for opening the text documents is in 'command'
     // (it might be "notepad foo.txt" under Windows or "cat foo.txt" under Unix)
diff --git a/docs/latex/wx/function.tex b/docs/latex/wx/function.tex
index 9379c09997..75ae7a6ffe 100644
--- a/docs/latex/wx/function.tex
+++ b/docs/latex/wx/function.tex
@@ -1330,7 +1330,8 @@ Return the (current) user's home directory.
 
 \wxheading{See also}
 
-\helpref{wxGetUserHome}{wxgetuserhome}
+\helpref{wxGetUserHome}{wxgetuserhome}\\
+\helpref{wxStandardPaths}{wxstandardpaths}
 
 \wxheading{Include files}
 
@@ -2842,7 +2843,7 @@ See also \helpref{wxDDEServer}{wxddeserver}, \helpref{wxDDEClient}{wxddeclient},
 
 \membersection{::wxEnableTopLevelWindows}\label{wxenabletoplevelwindows}
 
-\func{void}{wxEnableTopLevelWindow}{\param{bool}{ enable = true}}
+\func{void}{wxEnableTopLevelWindows}{\param{bool}{ enable = true}}
 
 This function enables or disables all top level windows. It is used by
 \helpref{::wxSafeYield}{wxsafeyield}.
diff --git a/docs/latex/wx/mimetype.tex b/docs/latex/wx/mimetype.tex
index d28bd3e9c4..d20058d4fb 100644
--- a/docs/latex/wx/mimetype.tex
+++ b/docs/latex/wx/mimetype.tex
@@ -35,7 +35,7 @@ wxMimeTypesManager *wxTheMimeTypesManager;
 \end{verbatim}
 
 It is recommended to use this instance instead of creating your own because
-gathering MIME information may take quite a long on Unix systems.
+gathering MIME information may take quite a long time on Unix systems.
 
 \wxheading{Derived from}
 
diff --git a/docs/latex/wx/splitter.tex b/docs/latex/wx/splitter.tex
index 3c09fc7a71..6f18e23181 100644
--- a/docs/latex/wx/splitter.tex
+++ b/docs/latex/wx/splitter.tex
@@ -297,12 +297,12 @@ Gravity tells wxSplitterWindow how much will left/top window grow while resizing
 
 Example values:
 \begin{itemize}\itemsep=0pt
-\item{ 0.0  - only the bottom/right window is automaticaly resized}
+\item{ 0.0  - only the bottom/right window is automatically resized}
 \item{ 0.5  - both windows grow by equal size}
 \item{ 1.0  - only left/top window grows}
 \end{itemize}
 
-Gravity should be real value betwwen 0.0 and 1.0.
+Gravity should be a real value between 0.0 and 1.0.
 
 Default value of sash gravity is 0.0. That value is compatible with previous 
 (before gravity was introduced) behaviour of wxSplitterWindow.
@@ -396,7 +396,7 @@ child windows are shown if they are currently hidden.
 \docparam{window2}{The bottom pane.}
 
 \docparam{sashPosition}{The initial position of the sash. If this value is
-positive, it specifies the size of the upper pane. If it is negative, it is
+positive, it specifies the size of the upper pane. If it is negative, its
 absolute value gives the size of the lower pane. Finally, specify 0 (default)
 to choose the default position (half of the total window height).}
 
diff --git a/docs/latex/wx/strmmem.tex b/docs/latex/wx/strmmem.tex
index 4039407671..64f28a1e5f 100644
--- a/docs/latex/wx/strmmem.tex
+++ b/docs/latex/wx/strmmem.tex
@@ -26,11 +26,11 @@
 
 Initializes a new read-only memory stream which will use the specified buffer
 {\it data} of length {\it len}. The stream does not take ownership of the 
-buffer, i.e. that it will not delete in its destructor.
+buffer, i.e. the buffer will not be deleted in its destructor.
 
 \func{}{wxMemoryInputStream}{\param{const wxMemoryOutputStream&}{ stream}}
 
-Creates a new read-only memory stream, initilalizing it with the
+Creates a new read-only memory stream, initializing it with the
 data from the given output stream \arg{stream}.
 
 \membersection{wxMemoryInputStream::\destruct{wxMemoryInputStream}}\label{wxmemoryinputstreamdtor}
diff --git a/docs/latex/wx/wxstring.tex b/docs/latex/wx/wxstring.tex
index 6b0e6227a1..0a4ff10b73 100644
--- a/docs/latex/wx/wxstring.tex
+++ b/docs/latex/wx/wxstring.tex
@@ -914,7 +914,7 @@ Same as Truncate. Removes the portion from {\it pos} to the end of the string.
 
 \func{wxString\&}{Remove}{\param{size\_t}{ pos}, \param{size\_t}{ len}}
 
-Removes the {\it len} characters from the string, starting at {\it pos}.
+Removes {\it len} characters from the string, starting at {\it pos}.
 
 \membersection{wxString::RemoveLast}\label{wxstringremovelast}
 
diff --git a/docs/publicity/announce.txt b/docs/publicity/announce.txt
index b9e2e739e3..466a17b896 100644
--- a/docs/publicity/announce.txt
+++ b/docs/publicity/announce.txt
@@ -67,7 +67,7 @@ handlers for reading and writing many image types, resizeable panels
 and dialogs on all platforms, document/view, OpenGL support,
 HTML-based and context-sensitive help, wizards, drag and drop,
 a grid class, ODBC support, threads, sockets, container classes,
-a styled text control, and much more. A 2,000 page reference manual
+a styled text control, and much more. A 2,000-page reference manual
 is provided in HTML, MS HTML Help, WinHelp, wxWidgets Help and PDF
 formats, and there are over eighty samples and demos.
 
-- 
2.50.0

