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
This commit is contained in:
Julian Smart
2002-10-02 13:33:36 +00:00
parent 5aedd93815
commit 44b283fef0

View File

@@ -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();
}
}