mentioned that the handlers should be allocated on the heap also in ClearHandlers() docs (and not only in AddHandle() section)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2006-05-30 13:10:30 +00:00
parent a6f7daee0b
commit a245fd31a6

View File

@ -73,7 +73,8 @@ that the handler name is equal to the control's name plus 'XmlHandler', for exam
wxTextCtrlXmlHandler, wxHtmlWindowXmlHandler. The XML resource compiler
(wxxrc) can create include file that contains initialization code for
all controls used within the resource. Note that this handler should be
located on heap instead of stack, since it will get destroyed on shutdown.
allocated on the heap, since it will be delete by
\helpref{ClearHandlers}{wxxmlresourceclearhandlers} later.
\membersection{wxXmlResource::AttachUnknownControl}\label{wxxmlresourceattachunknowncontrol}
@ -88,7 +89,8 @@ Unknown controls are used in conjunction with <object class="unknown">.
\func{void}{ClearHandlers}{\void}
Removes all handlers.
Removes all handlers and deletes them (this means that any handlers added using
\helpref{AddHandler}{wxxmlresourceaddhandler} must be allocated on the heap).
\membersection{wxXmlResource::CompareVersion}\label{wxxmlresourcecompareversion}