From 8162b8489765fbc579b9f60f229265ca1bfd8ab0 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Fri, 12 Mar 1999 16:52:29 +0000 Subject: [PATCH] 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 --- docs/latex/wx/toolbar.tex | 6 ------ docs/latex/wx/wxstring.tex | 5 ----- src/msw/treectrl.cpp | 1 + 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/docs/latex/wx/toolbar.tex b/docs/latex/wx/toolbar.tex index 5c565091eb..07242ae6bf 100644 --- a/docs/latex/wx/toolbar.tex +++ b/docs/latex/wx/toolbar.tex @@ -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}} diff --git a/docs/latex/wx/wxstring.tex b/docs/latex/wx/wxstring.tex index 467d206db5..092f1eccee 100644 --- a/docs/latex/wx/wxstring.tex +++ b/docs/latex/wx/wxstring.tex @@ -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}} diff --git a/src/msw/treectrl.cpp b/src/msw/treectrl.cpp index 061374546b..7f8fd2847b 100644 --- a/src/msw/treectrl.cpp +++ b/src/msw/treectrl.cpp @@ -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();