]> git.saurik.com Git - wxWidgets.git/commitdiff
Minor doc tweaks plus major wxTreeCtrl bug fixed (double deletion of tree items
authorJulian Smart <julian@anthemion.co.uk>
Fri, 12 Mar 1999 16:52:29 +0000 (16:52 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 12 Mar 1999 16:52:29 +0000 (16:52 +0000)
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
docs/latex/wx/wxstring.tex
src/msw/treectrl.cpp

index 5c565091eb28ca9b5d7a99bfafa5f0755492b40f..07242ae6bf03049a7f90e56e0af20e036858dba6 100644 (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}}
index 467d206db5b360414af0562ac9b0bc28a5932e1f..092f1eccee13af201f2d9553062b1ddeb0794260 100644 (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}}
index 061374546bba7d5291ce30a3a048fb62f64fa4fb..7f8fd2847b116da370b24b15dff00ef63a6348f2 100644 (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();