From: Julian Smart Date: Wed, 29 May 2002 08:28:03 +0000 (+0000) Subject: Corrected some typos X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/feaca34f3426ac5774fbd7313fe9cabbb7d70446 Corrected some typos git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/category.tex b/docs/latex/wx/category.tex index 4909916033..22c8f7f5c2 100644 --- a/docs/latex/wx/category.tex +++ b/docs/latex/wx/category.tex @@ -589,7 +589,7 @@ working with databases: \end{twocollist} The documentation for the older classes is still included, but you should avoid -using any of them in the new programs: +using any of them in new programs: \twocolwidtha{6cm} \begin{twocollist}\itemsep=0pt diff --git a/docs/latex/wx/db.tex b/docs/latex/wx/db.tex index 1c0a471a07..d08ec080c2 100644 --- a/docs/latex/wx/db.tex +++ b/docs/latex/wx/db.tex @@ -623,8 +623,8 @@ entry is also logged to the defined log file. \docparam{aHdbc}{Handle to the ODBC connection. Pass this in if the ODBC function call that erred required a hdbc or hstmt argument.} -\docparam{aHstmt}{Handle to the ODBC statement being executed against. Pass -this in if the ODBC function call that erred out required a hstmt argument.} +\docparam{aHstmt}{Handle to the ODBC statement being executed against. Pass +this in if the ODBC function call that failed required a hstmt argument.} \wxheading{Remarks} @@ -980,10 +980,10 @@ in the result set after the current position of the cursor. \wxheading{Parameters} \docparam{aHenv}{A handle to the ODBC environment.} -\docparam{aHdbc}{{\it OPTIONAL.} A handle to the ODBC connection. Pass this -in if the ODBC function call that erred out required a hdbc or hstmt argument.} -\docparam{AHstmt}{{\it OPTIONAL.}A handle to the ODBC statement being executed -against. Pass this in if the ODBC function call that erred out requires a +\docparam{aHdbc}{{\it OPTIONAL.} A handle to the ODBC connection. Pass this +in if the ODBC function call that failed required a hdbc or hstmt argument.} +\docparam{AHstmt}{{\it OPTIONAL.}A handle to the ODBC statement being executed +against. Pass this in if the ODBC function call that failed requires a hstmt argument.} \wxheading{Example} @@ -991,8 +991,7 @@ hstmt argument.} \begin{verbatim} if (SQLExecDirect(hstmt, (UCHAR FAR *) pSqlStmt, SQL_NTS) != SQL_SUCCESS) { - // Display all ODBC errors for this stmt - return(db.DispAllErrors(db.henv, db.hdbc, hstmt)); + return(db.GetNextError(db.henv, db.hdbc, hstmt)); } \end{verbatim} @@ -1685,15 +1684,15 @@ name, user ID, password and default directory path (used with dBase). Other optional fields held in this class are and file type, both for future functions planned to be added for creating/manipulating datasource definitions. -\membersection{wxDbConnectInf::wxDbConnectInfo} +\membersection{wxDbConnectInf::wxDbConnectInf} \func{}{wxDbConnectInf}{\void} Default constructor. -\func{}{wxDb}{\param{HENV }{henv}, \param{const wxString \&}{dsn}, -\param{const wxString \&}{userID=""}, \param{const wxString \&}{password}, -\param{const wxString \&}{defaultDir=""}, \param{const wxString \&}{description=""}, +\func{}{wxDbConnectInf}{\param{HENV }{henv}, \param{const wxString \&}{dsn}, +\param{const wxString \&}{userID=""}, \param{const wxString \&}{password}, +\param{const wxString \&}{defaultDir=""}, \param{const wxString \&}{description=""}, \param{const wxString \&}{fileType=""}} Constructor which allows initial settings of all the classes member variables. diff --git a/docs/latex/wx/helpinst.tex b/docs/latex/wx/helpinst.tex index 7243d61a26..db5f2b1484 100644 --- a/docs/latex/wx/helpinst.tex +++ b/docs/latex/wx/helpinst.tex @@ -131,8 +131,8 @@ Returns FALSE if unsuccessful or not implemented. If the help viewer is not running, runs it and displays the given section. The interpretation of {\it section} differs between help viewers. For most viewers, -this call is equivalent to KeywordSearch. For MS HTML Help, external HTML help -and simple wxHTML help, if {\it section} has a .htm +this call is equivalent to KeywordSearch. For MS HTML Help, wxHTML help and external HTML help, +if {\it section} has a .htm or .html extension, that HTML file will be displayed; otherwise a keyword search is done. @@ -140,9 +140,9 @@ a keyword search is done. If the help viewer is not running, runs it and displays the given section. -{\it WinHelp, MS HTML Help:} {\it sectionNo} is a context id. +{\it WinHelp, MS HTML Help} {\it sectionNo} is a context id. -{\it External HTML help/simple wxHTML help:} wxExtHelpController implements {\it sectionNo} as an id in a map file, which is of the form: +{\it External HTML help:} wxExtHelpController implements {\it sectionNo} as an id in a map file, which is of the form: \begin{verbatim} 0 wx.html ; Index diff --git a/docs/latex/wx/sngchdlg.tex b/docs/latex/wx/sngchdlg.tex index dcb28e6599..b3ad51b11f 100644 --- a/docs/latex/wx/sngchdlg.tex +++ b/docs/latex/wx/sngchdlg.tex @@ -30,12 +30,12 @@ and then pressing OK. Constructor, taking an array of wxString choices and optional client data. -\func{}{wxSingleChoiceDialog}{\param{wxWindow* }{parent}, \param{const wxString\& }{message},\rtfsp -\param{const wxString\& }{caption}, \param{const wxStringList\& }{choices},\rtfsp -\param{void**}{ clientData = NULL}, \param{long }{style = wxOK \pipe wxCANCEL \pipe wxCENTRE},\rtfsp -\param{const wxPoint\& }{pos = wxDefaultPosition}} - -Constructor, taking a string list and optional client data. +%\func{}{wxSingleChoiceDialog}{\param{wxWindow* }{parent}, \param{const wxString\& }{message},\rtfsp +%\param{const wxString\& }{caption}, \param{const wxStringList\& }{choices},\rtfsp +%\param{void**}{ clientData = NULL}, \param{long }{style = wxOK \pipe wxCANCEL \pipe wxCENTRE},\rtfsp +%\param{const wxPoint\& }{pos = wxDefaultPosition}} +% +%Constructor, taking a string list and optional client data. \wxheading{Parameters}