From e7dfcb8ea41572bda21d4e1684ef0e5a1d7d408f Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Fri, 9 Sep 2005 14:33:41 +0000 Subject: [PATCH] Minor doc corrections git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/filehist.tex | 6 ++++++ docs/latex/wx/function.tex | 14 ++++++-------- docs/latex/wx/list.tex | 2 +- docs/latex/wx/timer.tex | 2 +- docs/latex/wx/wxmsw.tex | 18 ++++++++++++++++++ 5 files changed, 32 insertions(+), 10 deletions(-) diff --git a/docs/latex/wx/filehist.tex b/docs/latex/wx/filehist.tex index 82886b1de0..1b43587cd7 100644 --- a/docs/latex/wx/filehist.tex +++ b/docs/latex/wx/filehist.tex @@ -121,6 +121,12 @@ Loads the file history from the given config object. This function should be cal \helpref{wxConfig}{wxconfigbase} +\membersection{wxFileHistory::RemoveFileFromHistory}\label{wxfilehistoryfromfilefromhistory} + +\func{void}{RemoveFileFromHistory}{\param{size\_t }{i}} + +Removes the specified file from the history. + \membersection{wxFileHistory::RemoveMenu}\label{wxfilehistoryremovemenu} \func{void}{RemoveMenu}{\param{wxMenu* }{menu}} diff --git a/docs/latex/wx/function.tex b/docs/latex/wx/function.tex index 75ae7a6ffe..5d204099eb 100644 --- a/docs/latex/wx/function.tex +++ b/docs/latex/wx/function.tex @@ -2555,7 +2555,7 @@ Empties the clipboard. \membersection{::wxEnumClipboardFormats}\label{wxenumclipboardformats} -\func{int}{wxEnumClipboardFormats}{\param{int}{dataFormat}} +\func{int}{wxEnumClipboardFormats}{\param{int}{ dataFormat}} Enumerates the formats found in a list of available formats that belong to the clipboard. Each call to this function specifies a known @@ -2576,7 +2576,7 @@ wxOpenClipboard function. \membersection{::wxGetClipboardData}\label{wxgetclipboarddata} -\func{wxObject *}{wxGetClipboardData}{\param{int}{dataFormat}} +\func{wxObject *}{wxGetClipboardData}{\param{int}{ dataFormat}} Gets data from the clipboard. @@ -2592,7 +2592,7 @@ The clipboard must have previously been opened for this call to succeed. \membersection{::wxGetClipboardFormatName}\label{wxgetclipboardformatname} -\func{bool}{wxGetClipboardFormatName}{\param{int}{dataFormat}, \param{const wxString\& }{formatName}, \param{int}{maxCount}} +\func{bool}{wxGetClipboardFormatName}{\param{int}{ dataFormat}, \param{const wxString\& }{formatName}, \param{int}{ maxCount}} Gets the name of a registered clipboard format, and puts it into the buffer {\it formatName} which is of maximum length {\it maxCount}. {\it dataFormat} must not specify a predefined clipboard format. @@ -2600,7 +2600,7 @@ length {\it maxCount}. {\it dataFormat} must not specify a predefined clipboard \membersection{::wxIsClipboardFormatAvailable}\label{wxisclipboardformatavailable} -\func{bool}{wxIsClipboardFormatAvailable}{\param{int}{dataFormat}} +\func{bool}{wxIsClipboardFormatAvailable}{\param{int}{ dataFormat}} Returns true if the given data format is available on the clipboard. @@ -2621,7 +2621,7 @@ Registers the clipboard data format name and returns an identifier. \membersection{::wxSetClipboardData}\label{wxsetclipboarddata} -\func{bool}{wxSetClipboardData}{\param{int}{dataFormat}, \param{wxObject *}{data}, \param{int}{width}, \param{int}{height}} +\func{bool}{wxSetClipboardData}{\param{int}{ dataFormat}, \param{wxObject*}{ data}, \param{int}{ width}, \param{int}{ height}} Passes data to the clipboard. @@ -2637,8 +2637,6 @@ Passes data to the clipboard. The clipboard must have previously been opened for this call to succeed. - - \section{Miscellaneous functions}\label{miscellany} @@ -3172,7 +3170,7 @@ allows to define unsigned 64 bit compile time constants: \membersection{wxVaCopy}\label{wxvacopy} -\func{void}{wxVaCopy}{\param{va\_list }{argptrDst}, \param{va\_list}{argptrSrc}} +\func{void}{wxVaCopy}{\param{va\_list }{argptrDst}, \param{va\_list}{ argptrSrc}} This macro is the same as the standard C99 \texttt{va\_copy} for the compilers which support it or its replacement for those that don't. It must be used to diff --git a/docs/latex/wx/list.tex b/docs/latex/wx/list.tex index 1bce91d35e..aa570acf56 100644 --- a/docs/latex/wx/list.tex +++ b/docs/latex/wx/list.tex @@ -216,7 +216,7 @@ Removes element at given position. \func{wxNode *}{Find}{\param{T *}{ object}} -Returns the node whose client date is {\it object} or NULL if none found. +Returns the node whose client data is {\it object} or NULL if none found. {\bf Note}: keyed lists are deprecated and should not be used in new code. diff --git a/docs/latex/wx/timer.tex b/docs/latex/wx/timer.tex index 21edad6b88..d5554cd07c 100644 --- a/docs/latex/wx/timer.tex +++ b/docs/latex/wx/timer.tex @@ -97,7 +97,7 @@ id equal to {\it id}\/ specified here. \membersection{wxTimer::Start}\label{wxtimerstart} -\func{bool}{Start}{\param{int}{milliseconds = -1}, \param{bool }{oneShot = {\tt false}}} +\func{bool}{Start}{\param{int }{milliseconds = -1}, \param{bool }{oneShot = {\tt false}}} (Re)starts the timer. If {\it milliseconds}\/ parameter is -1 (value by default), the previous value is used. Returns {\tt false} if the timer could not be started, diff --git a/docs/latex/wx/wxmsw.tex b/docs/latex/wx/wxmsw.tex index 15031681d8..a2cdaafdd8 100644 --- a/docs/latex/wx/wxmsw.tex +++ b/docs/latex/wx/wxmsw.tex @@ -305,6 +305,24 @@ shows folders under My Documents or folders on memory cards a known problem for PocketPC developers, and a wxFileDialog replacement will need to be written. +\subsubsection{Embedded Visual C++ Issues} + +\wxhead{Run-time type information} + +If you wish to use runtime type information (RTTI) with eVC++ 4, you need to download +an extra library, {\tt ccrtrtti.lib}, and link with it. At the time of +writing you can get it from here: + +\begin{verbatim} +http://support.microsoft.com/kb/830482/en-us +\end{verbatim} + +Otherwise you will get linker errors similar to this: + +\begin{verbatim} +wxwince26d.lib(control.obj) : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@) +\end{verbatim} + \subsubsection{Remaining issues} These are some of the remaining problems to be sorted out, and features -- 2.45.2