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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user