X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f4fcc2919776cffa5e3b2f0d44dd24c41e652ff4..0f66923e84282a652b61cf33eefd910159bb62f2:/docs/latex/wx/tsamples.tex?ds=sidebyside diff --git a/docs/latex/wx/tsamples.tex b/docs/latex/wx/tsamples.tex index 19fb0af4e2..588932885d 100644 --- a/docs/latex/wx/tsamples.tex +++ b/docs/latex/wx/tsamples.tex @@ -77,7 +77,7 @@ demonstrating a simple dynamic layout. \subsection{Config sample}\label{sampleconfig} This sample demonstrates the \helpref{wxConfig}{wxconfigbase} classes in a platform -indenpedent way, i.e. it uses text based files to store a given configuration under +independent way, i.e. it uses text based files to store a given configuration under Unix and uses the Registry under Windows. See \helpref{wxConfig overview}{wxconfigoverview} for the descriptions of all @@ -129,10 +129,10 @@ dialogs are described in details in the \helpref{Common dialogs overview}{common \subsection{Dialup sample}\label{sampledialup} This sample shows \helpref{wxDialUpManager}{wxdialupmanager} -class. It displays in the status bar the information gathered through itsi -nterface: in particular, the current connection status (online or offline) and +class. It displays in the status bar the information gathered through its +interface: in particular, the current connection status (online or offline) and whether the connection is permanent (in which case a string `LAN' appears in -the thrid status bar field - but note that you may have be on a LAN not +the third status bar field - but note that you may have be on a LAN not connected to the Internet, in which case you will not see this) or not. Using the menu entries, you may also dial or hang up the line if you have a @@ -272,6 +272,17 @@ specifying the foreground and background colours with bitmap is then converted to a wxImage and the foreground colour (black) is replaced with red using \helpref{wxImage::Replace}{wximagereplace}. +\subsection{Internat(ionalization) sample}\label{sampleinternat} + +The not very clearly named internat sample demonstrates the wxWindows +internatationalization (i18n for short from now on) features. To be more +precise, it only shows localization support, i.e. support for translating the +program messages in another language while true i18n would also involve +changing the other aspects of the programs behaviour. + +More information about this sample can be found in the {\tt readme.txt} file in +its directory. Please see also \helpref{i18n overview}{internationalization}. + \subsection{Layout sample}\label{samplelayout} The layout sample demonstrates the two different layout systems offered @@ -391,7 +402,7 @@ the raw form using the {\tt EVT\_KEY\_UP} and {\tt EVT\_KEY\_DOWN} macros and th higher level from using the {\tt EVT\_CHAR} macro. All characters will be logged in a log window at the bottom of the main window. By pressing some of the function keys, you can test some actions in the text ctrl as well as get statistics on the -text ctrls, which is useful for testing if these stastitics actually are correct. +text ctrls, which is useful for testing if these statistics actually are correct. Thirdly, on platforms which support it, the sample will offer to copy text to the \helpref{wxClipboard}{wxclipboard} and to paste text from it. The GTK version will