From: Vadim Zeitlin Date: Fri, 16 Feb 2001 18:49:47 +0000 (+0000) Subject: some minor fixes to the docs (bugs 13271[56]) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/cd4915e2c915d6c7611b38fa5182e2d84d1ca669 some minor fixes to the docs (bugs 13271[56]) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/evthand.tex b/docs/latex/wx/evthand.tex index 2d74c6a41c..cc269395f3 100644 --- a/docs/latex/wx/evthand.tex +++ b/docs/latex/wx/evthand.tex @@ -46,9 +46,10 @@ method. \wxheading{Remarks} -Note that this requires that the event has a fully implemented Clone() +Note that this requires that the event implements +\helpref{CopyObject}{wxobjectcopyobject} method so that the event can be duplicated and stored until it gets processed later. -Not all events in wxWindows currently have a fully implemented Clone() method, +Not all events in wxWindows currently fully implement this method, so you may have to look at the source to verify this. This methods automatically wakes up idle handling even if the underlying window @@ -61,6 +62,7 @@ about the status of other working threads and this has to be done using this method - which also means that this method is thread safe by means of using crtical sections where needed. +% VZ: bad idea IMHO - we're going to have a lot of problems with this Furthermore, it may be noted that some ports of wxWindows will probably move to using this method more and more in preference over calling ProcessEvent() directly so as to avoid problems with reentrant code. diff --git a/docs/latex/wx/list.tex b/docs/latex/wx/list.tex index 1b96da6cd6..9f3a5f8385 100644 --- a/docs/latex/wx/list.tex +++ b/docs/latex/wx/list.tex @@ -230,7 +230,7 @@ Returns the last node in the list (NULL if the list is empty). \func{int}{IndexOf}{\param{wxObject*}{ obj }} -Returns the index of {\it obj} within the list or NOT\_FOUND if {\it obj} +Returns the index of {\it obj} within the list or wxNOT\_FOUND if {\it obj} is not found in the list. \membersection{wxList::Insert}\label{wxlistinsert} diff --git a/docs/latex/wx/object.tex b/docs/latex/wx/object.tex index 6736be5790..a93d8e02d1 100644 --- a/docs/latex/wx/object.tex +++ b/docs/latex/wx/object.tex @@ -48,6 +48,13 @@ Pointer to an object which is the object's reference-counted data. \helpref{wxObject::GetRefData}{wxobjectgetrefdata},\rtfsp \helpref{wxObjectRefData}{wxobjectrefdata} +\membersection{wxObject::CopyObject}\label{wxobjectcopyobject} + +\func{virtual void}{CopyObject}{\param{wxObject\&}{ object\_dest}} + +Create a copy of this object in object\_dest. Must perform a full copy of self +so that object\_dest will be valid after this object is deleted + \membersection{wxObject::Dump}\label{wxobjectdump} \func{void}{Dump}{\param{ostream\&}{ stream}}