From 552861bf308cf2fd12f786a5443d379b55f63d81 Mon Sep 17 00:00:00 2001
From: Vadim Zeitlin
diff --git a/docs/latex/book/chap_basic_events.tex b/docs/latex/book/chap_basic_events.tex
index dfa56b2b77..bcb9587faf 100644
--- a/docs/latex/book/chap_basic_events.tex
+++ b/docs/latex/book/chap_basic_events.tex
@@ -342,7 +342,7 @@ mouse events or all mouse events.}
\wxhelpref{wxScrollBar}{wxscrollbar}, \wxhelpref{wxSlider}{wxslider},and \wxhelpref{wxSpinButton}{wxspinbutton}.}
\twocolitem{\wxhelpref{wxSizeEvent}{wxsizeevent}}{The EVT\_SIZE macro is used to handle a window resize.}
\twocolitem{\wxhelpref{wxSplitterEvent}{wxsplitterevent}}{The EVT\_SPLITTER\_SASH\_POS\_CHANGED, EVT\_SPLITTER\_UNSPLIT
-and EVT\_SPLITTER\_DOUBLECLICKED macros are used to handle the various splitter window events.}
+and EVT\_SPLITTER\_DCLICK macros are used to handle the various splitter window events.}
\twocolitem{\wxhelpref{wxSysColourChangedEvent}{wxsyscolourchangedevent}}{The EVT\_SYS\_COLOUR\_CHANGED macro is used to handle
events informing the application that the user has changed the system colours (Windows only).}
\twocolitem{\wxhelpref{wxTreeEvent}{wxtreeevent}}{These macros handle \wxhelpref{wxTreeCtrl}{wxtreectrl} events.}
diff --git a/docs/latex/wx/splitevt.tex b/docs/latex/wx/splitevt.tex
index a3ba5731f0..7cf2b96e93 100644
--- a/docs/latex/wx/splitevt.tex
+++ b/docs/latex/wx/splitevt.tex
@@ -38,7 +38,7 @@ Processes a wxEVT\_COMMAND\_SPLITTER\_SASH\_POS\_CHANGED event.}
\twocolitem{{\bf EVT\_SPLITTER\_UNSPLIT(id, func)}}{The splitter has been just
unsplit. Processes a wxEVT\_COMMAND\_SPLITTER\_UNSPLIT event. This event can't
be vetoed.}
-\twocolitem{{\bf EVT\_SPLITTER\_DOUBLECLICKED(id, func)}}{The sash was double
+\twocolitem{{\bf EVT\_SPLITTER\_DCLICK(id, func)}}{The sash was double
clicked. The default behaviour is to unsplit the window when this happens
(unless the minimum pane size has been set to a value greater than zero). This
won't happen if you veto this event. Processes a
diff --git a/docs/latex/wx/splitter.tex b/docs/latex/wx/splitter.tex
index 5defafa745..b37d1b73eb 100644
--- a/docs/latex/wx/splitter.tex
+++ b/docs/latex/wx/splitter.tex
@@ -55,7 +55,7 @@ it is set, or to prevent the change from taking place.
Processes a wxEVT\_COMMAND\_SPLITTER\_SASH\_POS\_CHANGED event.}
\twocolitem{{\bf EVT\_SPLITTER\_UNSPLIT(id, func)}}{The splitter has been just
unsplit. Processes a wxEVT\_COMMAND\_SPLITTER\_UNSPLIT event.}
-\twocolitem{{\bf EVT\_SPLITTER\_DOUBLECLICKED(id, func)}}{The sash was double
+\twocolitem{{\bf EVT\_SPLITTER\_DCLICK(id, func)}}{The sash was double
clicked. The default behaviour is to unsplit the window when this happens
(unless the minimum pane size has been set to a value greater than zero).
Processes a wxEVT\_COMMAND\_SPLITTER\_DOUBLECLICKED event.}
diff --git a/docs/latex/wx/tevent.tex b/docs/latex/wx/tevent.tex
index ed4760d0fc..f58d767d67 100644
--- a/docs/latex/wx/tevent.tex
+++ b/docs/latex/wx/tevent.tex
@@ -363,7 +363,7 @@ mouse events or all mouse events.}
\helpref{wxScrollBar}{wxscrollbar}, \helpref{wxSlider}{wxslider},and \helpref{wxSpinButton}{wxspinbutton}.}
\twocolitem{\helpref{wxSizeEvent}{wxsizeevent}}{The EVT\_SIZE macro is used to handle a window resize.}
\twocolitem{\helpref{wxSplitterEvent}{wxsplitterevent}}{The EVT\_SPLITTER\_SASH\_POS\_CHANGED, EVT\_SPLITTER\_UNSPLIT
-and EVT\_SPLITTER\_DOUBLECLICKED macros are used to handle the various splitter window events.}
+and EVT\_SPLITTER\_DCLICK macros are used to handle the various splitter window events.}
\twocolitem{\helpref{wxSysColourChangedEvent}{wxsyscolourchangedevent}}{The EVT\_SYS\_COLOUR\_CHANGED macro is used to handle
events informing the application that the user has changed the system colours (Windows only).}
\twocolitem{\helpref{wxTreeEvent}{wxtreeevent}}{These macros handle \helpref{wxTreeCtrl}{wxtreectrl} events.}
diff --git a/docs/tech/tn0002.txt b/docs/tech/tn0002.txt
index e508423a1f..29ef40af71 100644
--- a/docs/tech/tn0002.txt
+++ b/docs/tech/tn0002.txt
@@ -8,17 +8,18 @@ First of all, here is what you will need:
1. GNU gettext package version 0.10.35 or later (NB: earlier versions were
known to have serious bugs)
- a) for Unix systems you can download gettext-0.10.tar.gz from any of GNU
- mirrors (RPMs and DEBs are also available from the usual places)
+ a) for Unix systems you can download gettext-0.10.tar.gz from any GNU
+ mirror (RPMs and DEBs are also available from the usual places)
- b) for Windows you can grab the precompiled binaries from www.wxwindows.org
+ b) for Windows you can download the precompiled binaries from
+ www.wxwindows.org
2. A way to run a program recursively on an entire directory from the command
line:
- a) for Unix systems, this is done in locale/Makefile using standard find
- command and xargs which is installed on almost all modern Unices, if you
- are unhappy enough to not have it you can use -exec option of find
+ a) for Unix systems, this is done in locale/Makefile using the standard find
+ command and xargs which is installed on almost all modern Unices. If you
+ are unlucky enough to not have xargs, you can use the -exec option of find
instead.
b) for Win32 systems this is less trivial: if you have 4DOS/4NT/bash, that's
@@ -35,7 +36,7 @@ gettext documentation for more details). It happens in several steps:
1. the strings to translate are extracted from the C++ sources using xgettext
program into a wxstd.po file which is a "text message catalog"
-2. this new wxtd.po file (recreated each one some new text messages are added
+2. this new wxstd.po file (recreated each time some new text messages are added
to wxWindows) is merged with existing translations in another .po file (for
example, de.po) and replaces this file (this is done using the program
msgmerge)
@@ -45,11 +46,11 @@ gettext documentation for more details). It happens in several steps:
4. finally, msgformat must be run to produce a .mo file: "binary message catalog"
-How does it happen in practice? Under Unix there is a Makefile under "locale"
+How does it happen in practice? Under Unix there is a Makefile in the "locale"
directory which will do almost everything (except translations) for you, i.e.
just type "make lang.po" to create or update the message catalog for 'lang'.
Then edit the resulting lang.po and make sure that there are no empty or fuzzy
-translations left (empty translations are the one with msgstr "", fuzzy
+translations left (empty translations are the ones with msgstr "", fuzzy
translations are those which have the word "fuzzy" in a comment just above
them). Then type "make lang.mo" which will create the binary message catalog.
@@ -62,6 +63,9 @@ Author: VZ
Version: $Id$
$Log$
+Revision 1.2 2002/07/03 15:01:26 VZ
+typos and other doc corrections from Olly Betts (patch 573738)
+
Revision 1.1 2000/03/07 10:53:53 VZ
technote about translations added
diff --git a/docs/tech/tn0003.txt b/docs/tech/tn0003.txt
index 738a1b7d46..7a79f3859b 100644
--- a/docs/tech/tn0003.txt
+++ b/docs/tech/tn0003.txt
@@ -14,7 +14,7 @@ If adding to the existing manual in docs/latex/wx, you need to
create a new .tex file, e.g. myclass.tex, and add it to the
list of classes in classes.tex (in strict alphabetical order).
You may also want to write a separate topic file, e.g. tmyclass.tex,
-and add the entry to topics.tex. Also, if applicable, and an entry
+and add the entry to topics.tex. If applicable, also add an entry
to category.tex.
If compiling a separate manual, copy an existing set of files from the
diff --git a/docs/tech/tn0004.htm b/docs/tech/tn0004.htm
index d3cd6d6f4d..ea58c4fd56 100644
--- a/docs/tech/tn0004.htm
+++ b/docs/tech/tn0004.htm
@@ -15,10 +15,11 @@ This document is available online
@@ -56,18 +57,17 @@ To make the samples
In CBuilder 1 you can use Open Project to open the mak file and
edit/compile/debug.
- In CBuilder 3 and 4, then you can use Open Project and choose
the Open Borland CBuilder 1 Project from the drop down file types. The
system will modify the mak file and update it for you.
Now try compiling it in the ide.
@@ -135,7 +136,7 @@ Hints:
C:\wx\lib>implib odbc32 c:\windows\system\odbc32.dll
+ODBC. The solution is to run a command prompt in your wx\lib directory
+and use the implib command:
+ C:\wx\lib>implib odbc32 c:\windows\system\odbc32.dll
This creates the necessary library, odbc32.lib
Turbo Incremental Link Version 1.0 Copyright (c) 1997 Borland
International
@@ -209,8 +210,7 @@ line 2060
** error 2 ** deleting minimal.exe
I have not been able to track down why sometimes this error occurs and
-other times it is OK
-
Page updated on 31 May 2000 by Chris Elliott
Solution 1
-
Download a zip file which contains modified
-cpp, mak and bpr files - it will overwrite your wx distribution cpp files!
+cpp, mak and bpr files - it will overwrite your wx distribution cpp files!
-
-Solution 2
-Creating the files by hand . This is for the calendar sample; you will
+
+Solution 2
+Creating the files by hand. This is for the calendar sample; you will
have to change the names for the other samples
#-----------------------------------------------------------------------------
#this is for Borland CBuilder IDE v1 and 3
@@ -112,8 +112,9 @@ jpeg.lib for image samples
#ifdef __BIDE__
#define _NO_VCL
@@ -126,7 +127,7 @@ if you have more than one .cpp file
In CBuilder 3 and 4, then you can use Open Project and choose
+
I found in CBuilder 1 that the idetomak utility did not manage
@@ -190,13 +191,13 @@ are correct
Error with ODBC32
Sometimes you get an error saying that there are unresolved externals in
-ODBC. The solution is to run a command prompt in your wx\lib directory
-and use the implib command:
-
Unresolved Problem
-In Borland CBuilder 1.00 (with linker service patch) I frequently
+In Borland CBuilder 1.00 (with linker service patch) I frequently
get an error
Fatal: Access violation. Program terminated.
I have not seen this in Cbuilder 3 or 4
+other times it is OK. I have not seen this in Cbuilder 3 or 4.