From 44b283fef0cf5834174f0c18e1fa2845638b75bc Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Wed, 2 Oct 2002 13:33:36 +0000 Subject: [PATCH] Applied patch [ 609361 ] wxDocument::UpdateAllViews() The sending view won't be updated now. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/docview.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/docview.cpp b/src/common/docview.cpp index d115d72349..37cf7cca0b 100644 --- a/src/common/docview.cpp +++ b/src/common/docview.cpp @@ -506,7 +506,8 @@ void wxDocument::UpdateAllViews(wxView *sender, wxObject *hint) while (node) { wxView *view = (wxView *)node->Data(); - view->OnUpdate(sender, hint); + if (view != sender) + view->OnUpdate(sender, hint); node = node->Next(); } }