From 01a01d10840f3a5d5c6a94d5bf62d0507d779f07 Mon Sep 17 00:00:00 2001
From: Julian Smart <julian@anthemion.co.uk>
Date: Thu, 23 Sep 2004 19:36:28 +0000
Subject: [PATCH] Minor doc corrections

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 docs/latex/wx/button.tex   | 2 +-
 docs/latex/wx/frame.tex    | 2 +-
 docs/latex/wx/spinbutt.tex | 5 ++---
 docs/latex/wx/spinctrl.tex | 2 +-
 docs/latex/wx/tbitmap.tex  | 5 +----
 docs/latex/wx/text.tex     | 4 ++--
 docs/latex/wx/treectrl.tex | 1 +
 docs/latex/wx/txtdrptg.tex | 4 ++--
 8 files changed, 11 insertions(+), 14 deletions(-)

diff --git a/docs/latex/wx/button.tex b/docs/latex/wx/button.tex
index 0adf54ec43..e8a1ee645e 100644
--- a/docs/latex/wx/button.tex
+++ b/docs/latex/wx/button.tex
@@ -52,7 +52,7 @@ Default constructor.
 
 \func{}{wxButton}{\param{wxWindow* }{parent}, \param{wxWindowID}{ id}, \param{const wxString\& }{label = wxEmptyString},\rtfsp
 \param{const wxPoint\& }{pos}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp
-\param{long}{ style = 0}, \param{const wxValidator\& }{validator}, \param{const wxString\& }{name = ``button"}}
+\param{long}{ style = 0}, \param{const wxValidator\& }{validator = wxDefaultValidator}, \param{const wxString\& }{name = ``button"}}
 
 Constructor, creating and showing a button.
 
diff --git a/docs/latex/wx/frame.tex b/docs/latex/wx/frame.tex
index ffa74eefcf..968bc39a16 100644
--- a/docs/latex/wx/frame.tex
+++ b/docs/latex/wx/frame.tex
@@ -25,7 +25,7 @@ application windows.
 
 \twocolwidtha{5cm}
 \begin{twocollist}\itemsep=0pt
-\twocolitem{\windowstyle{wxDEFAULT\_FRAME\_STYLE}}{Defined as {\bf wxMINIMIZE\_BOX \pipe wxMAXIMIZE\_BOX \pipe wxRESIZE\_BORDER \pipe wxSYSTEM\_MENU \pipe wxCAPTION \pipe wxCLOSE\_BOX}.}
+\twocolitem{\windowstyle{wxDEFAULT\_FRAME\_STYLE}}{Defined as {\bf wxMINIMIZE\_BOX \pipe wxMAXIMIZE\_BOX \pipe wxRESIZE\_BORDER \pipe wxSYSTEM\_MENU \pipe wxCAPTION \pipe wxCLOSE\_BOX \pipe wxCLIP\_CHILDREN}.}
 \twocolitem{\windowstyle{wxICONIZE}}{Display the frame iconized (minimized). Windows only. }
 \twocolitem{\windowstyle{wxCAPTION}}{Puts a caption on the frame.}
 \twocolitem{\windowstyle{wxMINIMIZE}}{Identical to {\bf wxICONIZE}. Windows only.}
diff --git a/docs/latex/wx/spinbutt.tex b/docs/latex/wx/spinbutt.tex
index 4256dc36a2..3b8eb87cbb 100644
--- a/docs/latex/wx/spinbutt.tex
+++ b/docs/latex/wx/spinbutt.tex
@@ -3,8 +3,7 @@
 A wxSpinButton has two small up and down (or left and right) arrow buttons. It
 is often used next to a text control for increment and decrementing a value.
 Portable programs should try to use \helpref{wxSpinCtrl}{wxspinctrl} instead
-as wxSpinButton is not implemented for all platforms (Win32 and GTK only
-currently).
+as wxSpinButton is not implemented for all platforms.
 
 {\bf NB:} the range supported by this control (and wxSpinCtrl) depends on the
 platform but is at least {\tt -0x8000} to {\tt 0x7fff}. Under GTK and
@@ -32,7 +31,7 @@ required, 5.80 is recommended) the full 32 bit range is supported.
 \begin{twocollist}\itemsep=0pt
 \twocolitem{\windowstyle{wxSP\_HORIZONTAL}}{Specifies a horizontal spin button (note that this style is not supported in wxGTK).}
 \twocolitem{\windowstyle{wxSP\_VERTICAL}}{Specifies a vertical spin button.}
-\twocolitem{\windowstyle{wxSP\_ARROW\_KEYS}}{The user can use arrow keys.}
+\twocolitem{\windowstyle{wxSP\_ARROW\_KEYS}}{The user can use arrow keys to change the value.}
 \twocolitem{\windowstyle{wxSP\_WRAP}}{The value wraps at the minimum and maximum.}
 \end{twocollist}
 
diff --git a/docs/latex/wx/spinctrl.tex b/docs/latex/wx/spinctrl.tex
index 3fa2ecb4d4..fe9243cee2 100644
--- a/docs/latex/wx/spinctrl.tex
+++ b/docs/latex/wx/spinctrl.tex
@@ -23,7 +23,7 @@ wxSpinCtrl combines \helpref{wxTextCtrl}{wxtextctrl} and
 
 \twocolwidtha{5cm}
 \begin{twocollist}\itemsep=0pt
-\twocolitem{\windowstyle{wxSP\_ARROW\_KEYS}}{The user can use arrow keys.}
+\twocolitem{\windowstyle{wxSP\_ARROW\_KEYS}}{The user can use arrow keys to change the value.}
 \twocolitem{\windowstyle{wxSP\_WRAP}}{The value wraps at the minimum and maximum.}
 \end{twocollist}
 
diff --git a/docs/latex/wx/tbitmap.tex b/docs/latex/wx/tbitmap.tex
index 22788f246d..48db4af4e4 100644
--- a/docs/latex/wx/tbitmap.tex
+++ b/docs/latex/wx/tbitmap.tex
@@ -11,10 +11,7 @@ required.
 A bitmap created dynamically or loaded from a file can be selected
 into a memory device context (instance of \helpref{wxMemoryDC}{wxmemorydc}). This
 enables the bitmap to be copied to a window or memory device context
-using \helpref{wxDC::Blit}{wxdcblit}, or to be used as a drawing surface.  The {\bf
-wxToolBarSimple} class is implemented using bitmaps, and the toolbar demo
-shows one of the toolbar bitmaps being used for drawing a miniature
-version of the graphic which appears on the main window.
+using \helpref{wxDC::Blit}{wxdcblit}, or to be used as a drawing surface.
 
 See \helpref{wxMemoryDC}{wxmemorydc} for an example of drawing onto a bitmap.
 
diff --git a/docs/latex/wx/text.tex b/docs/latex/wx/text.tex
index 154ea5b9e3..caa9d89b32 100644
--- a/docs/latex/wx/text.tex
+++ b/docs/latex/wx/text.tex
@@ -280,11 +280,11 @@ streambuf\\
 \twocolwidtha{5cm}
 \begin{twocollist}\itemsep=0pt
 \twocolitem{\windowstyle{wxTE\_PROCESS\_ENTER}}{The control will generate
-the message wxEVENT\_TYPE\_TEXT\_ENTER\_COMMAND (otherwise pressing Enter key
+the event wxEVT\_COMMAND\_TEXT\_ENTER (otherwise pressing Enter key
 is either processed internally by the control or used for navigation between
 dialog controls).}
 \twocolitem{\windowstyle{wxTE\_PROCESS\_TAB}}{The control will receive
-EVT\_CHAR messages for TAB pressed - normally, TAB is used for passing to the
+wxEVT\_CHAR events for TAB pressed - normally, TAB is used for passing to the
 next control in a dialog instead. For the control created with this style,
 you can still use Ctrl-Enter to pass to the next control from the keyboard.}
 \twocolitem{\windowstyle{wxTE\_MULTILINE}}{The text control allows multiple lines.}
diff --git a/docs/latex/wx/treectrl.tex b/docs/latex/wx/treectrl.tex
index 2a39b19c15..dbe43ff52a 100644
--- a/docs/latex/wx/treectrl.tex
+++ b/docs/latex/wx/treectrl.tex
@@ -75,6 +75,7 @@ functions that take a \helpref{wxTreeEvent}{wxtreeevent} argument.
 \begin{twocollist}\itemsep=0pt
 \twocolitem{{\bf EVT\_TREE\_BEGIN\_DRAG(id, func)}}{Begin dragging with the left mouse button.}
 \twocolitem{{\bf EVT\_TREE\_BEGIN\_RDRAG(id, func)}}{Begin dragging with the right mouse button.}
+\twocolitem{{\bf EVT\_TREE\_END\_DRAG(id, func)}}{End dragging with the left or right mouse button.}
 \twocolitem{{\bf EVT\_TREE\_BEGIN\_LABEL\_EDIT(id, func)}}{Begin editing a label. This can be prevented by calling \helpref{Veto()}{wxnotifyeventveto}.}
 \twocolitem{{\bf EVT\_TREE\_END\_LABEL\_EDIT(id, func)}}{Finish editing a label. This can be prevented by calling \helpref{Veto()}{wxnotifyeventveto}.}
 \twocolitem{{\bf EVT\_TREE\_DELETE\_ITEM(id, func)}}{Delete an item.}
diff --git a/docs/latex/wx/txtdrptg.tex b/docs/latex/wx/txtdrptg.tex
index c0c19c53df..58b3e6091c 100644
--- a/docs/latex/wx/txtdrptg.tex
+++ b/docs/latex/wx/txtdrptg.tex
@@ -32,7 +32,7 @@ appropriately for text, and calls \helpref{wxTextDropTarget::OnDropText}{wxtextd
 
 \membersection{wxTextDropTarget::OnDropText}\label{wxtextdroptargetondroptext}
 
-\func{virtual bool}{OnDropText}{\param{long }{x}, \param{long }{y}, \param{const char }{*data}}
+\func{virtual bool}{OnDropText}{\param{wxCoord }{x}, \param{wxCoord }{y}, \param{const wxString\&}{ data}}
 
 Override this function to receive dropped text.
 
@@ -42,7 +42,7 @@ Override this function to receive dropped text.
 
 \docparam{y}{The y coordinate of the mouse.}
 
-\docparam{data}{The data being dropped: a NULL-terminated string.}
+\docparam{data}{The data being dropped: a wxString.}
 
 \wxheading{Return value}
 
-- 
2.50.0

