From 751731864888f00e31e6dce1092ac28a1fac5358 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Fri, 18 Jun 2004 17:57:47 +0000 Subject: [PATCH] Latex corrections from Marc Albrecht git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/colour.tex | 2 +- docs/latex/wx/encconv.tex | 2 +- docs/latex/wx/frame.tex | 4 ++-- docs/latex/wx/function.tex | 2 +- docs/latex/wx/locale.tex | 2 ++ docs/latex/wx/ltx.tex | 6 +++++- docs/latex/wx/sizer.tex | 3 ++- docs/latex/wx/text.tex | 2 +- 8 files changed, 15 insertions(+), 8 deletions(-) diff --git a/docs/latex/wx/colour.tex b/docs/latex/wx/colour.tex index 67ac7fc45c..949b99dac3 100644 --- a/docs/latex/wx/colour.tex +++ b/docs/latex/wx/colour.tex @@ -337,7 +337,7 @@ found in the database. \func{wxColour*}{FindColour}{\param{const wxString\& }{colourName}} -Finds a colour given the name. Returns \tt{NULL} if not found or a pointer which +Finds a colour given the name. Returns {\tt NULL} if not found or a pointer which must be deleted by the caller otherwise. Please note that this method is deprecated and will be removed in the next diff --git a/docs/latex/wx/encconv.tex b/docs/latex/wx/encconv.tex index d9db707ce0..a0a4e96c21 100644 --- a/docs/latex/wx/encconv.tex +++ b/docs/latex/wx/encconv.tex @@ -85,7 +85,7 @@ or output encoding is not supported.) \func{static bool}{CanConvert}{\param{wxFontEncoding}{encIn}, \param{wxFontEncoding }{encOut}} Return true if (any text in) multibyte encoding \arg{encIn} can be converted to -another one (\it{encOut}) losslessly. +another one ({\it{encOut}}) losslessly. Do not call this method with \texttt{wxFONTENCODING\_UNICODE} as either parameter, it doesn't make sense (always works in one sense and always depends diff --git a/docs/latex/wx/frame.tex b/docs/latex/wx/frame.tex index 5bb7a52b5e..89e56d46bc 100644 --- a/docs/latex/wx/frame.tex +++ b/docs/latex/wx/frame.tex @@ -525,10 +525,10 @@ Note that on some platforms, it is not possible to call this function twice for \func{bool}{SetShape}{\param{const wxRegion\&}{ region}} If the platform supports it, sets the shape of the window to that -depicted by \it{region}. The system will not display or +depicted by {\it{region}}. The system will not display or respond to any mouse event for the pixels that lie outside of the region. To reset the window to the normal rectangular shape simply -call \it{SetShape} again with an empty region. Returns TRUE if the +call {\it{SetShape}} again with an empty region. Returns TRUE if the operation is successful. \membersection{wxFrame::SetStatusBar}\label{wxframesetstatusbar} diff --git a/docs/latex/wx/function.tex b/docs/latex/wx/function.tex index b204d0b798..74500810d6 100644 --- a/docs/latex/wx/function.tex +++ b/docs/latex/wx/function.tex @@ -2566,7 +2566,7 @@ This macro returns the concatenation of two tokens \arg{x} and \arg{y}. \func{}{wxDYNLIB\_FUNCTION}{\param{}{type}, \param{}{name}, \param{}{dynlib}} When loading a function from a DLL you always have to cast the returned -\tt{void *} pointer to the correct type and, even more annoyingly, you have to +{\tt{void *}} pointer to the correct type and, even more annoyingly, you have to repeat this type twice if you want to declare and define a function pointer all in one line diff --git a/docs/latex/wx/locale.tex b/docs/latex/wx/locale.tex index 55194a79e2..e245495c15 100644 --- a/docs/latex/wx/locale.tex +++ b/docs/latex/wx/locale.tex @@ -559,6 +559,8 @@ wxLANGUAGE\_DEFAULT has special meaning -- wxLocale will use system's default language (see \helpref{GetSystemLanguage}{wxlocalegetsystemlanguage}).} \docparam{flags}{Combination of the following: + + \begin{twocollist}\itemsep=0pt \twocolitem{\windowstyle{wxLOCALE\_LOAD\_DEFAULT}}{Load the message catalog for the given locale containing the translations of standard wxWidgets messages diff --git a/docs/latex/wx/ltx.tex b/docs/latex/wx/ltx.tex index 89ac57621e..62277a17e9 100644 --- a/docs/latex/wx/ltx.tex +++ b/docs/latex/wx/ltx.tex @@ -1 +1,5 @@ -\newcommand{\gifsep}{\hspace{1cm}} \ No newline at end of file +\newcommand{\gifsep}{\hspace{1cm}} +\newcommand{\true}{{\bf TRUE}} +\newcommand{\false}{{\bf FALSE}} +\newcommand{\caret}{\symbol{94}} +\renewcommand{\arg}[1]{{\tt #1}} diff --git a/docs/latex/wx/sizer.tex b/docs/latex/wx/sizer.tex index 34bf8f74c2..7ab64a666f 100644 --- a/docs/latex/wx/sizer.tex +++ b/docs/latex/wx/sizer.tex @@ -105,7 +105,8 @@ dependent on the specific kind of sizer used. \windowstyle{wxLEFT}\\ \windowstyle{wxRIGHT}\\ \windowstyle{wxALL}}{These flags are used to specify which side(s) of -the sizer item the {\it border} width will apply to. } + the sizer item the {\it border} width will apply to. } + \twocolitem{\windowstyle{wxEXPAND}}{The item will be expanded to fill the space assigned to the item.} \twocolitem{\windowstyle{wxSHAPED}}{The item will be expanded as much diff --git a/docs/latex/wx/text.tex b/docs/latex/wx/text.tex index 743ca39058..52a159d151 100644 --- a/docs/latex/wx/text.tex +++ b/docs/latex/wx/text.tex @@ -823,7 +823,7 @@ sequence in the native control. This function finds the character at the specified position expressed in pixels. If the return code is not \texttt{wxTE\_HT\_UNKNOWN} the row and column of the character closest to this position are returned in the \arg{col} and -\arg{row} parameters (unless the pointers are \tt{NULL} which is allowed). +\arg{row} parameters (unless the pointers are {\tt{NULL}} which is allowed). Please note that this function is currently only implemented in wxUniv and wxMSW ports. -- 2.45.2