Minor doc tweaks plus major wxTreeCtrl bug fixed (double deletion of tree items

in some circumstances)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 1999-03-12 16:52:29 +00:00
parent 81f1bb400a
commit 8162b84897
3 changed files with 1 additions and 11 deletions

View File

@ -308,12 +308,6 @@ Returns the left/right and top/bottom margins, which are also used for inter-too
Gets the maximum size taken up by the tools after layout, including margins.
This can be used to size a frame around the toolbar window.
\wxheading{Parameters}
\docparam{w}{Receives the maximum horizontal size.}
\docparam{h}{Receives the maximum vertical size.}
\membersection{wxToolBar::GetToolClientData}\label{wxtoolbargettoolclientdata}
\constfunc{wxObject*}{GetToolClientData}{\param{int }{toolIndex}}

View File

@ -785,11 +785,6 @@ Returns the number of replacements made.
Returns the last {\it count} characters.
\constfunc{wxString}{Right}{\param{char}{ ch}}
Returns all characters after the last occurence of {\it ch}.
Returns the whole string if {\it ch} is not found.
\membersection{wxString::SetChar}\label{wxstringsetchar}
\func{void}{SetChar}{\param{size\_t}{ n}, \param{char}{ch}}

View File

@ -1048,6 +1048,7 @@ bool wxTreeCtrl::MSWNotify(WXWPARAM wParam, WXLPARAM lParam, WXLPARAM *result)
NM_TREEVIEW* tv = (NM_TREEVIEW *)lParam;
wxTreeItemData *data = (wxTreeItemData *)tv->itemOld.lParam;
delete data; // may be NULL, ok
processed = TRUE; // Make sure we don't get called twice
}
*result = !event.IsAllowed();