Remove redundant Repaint() calls in wxAuiManager

There is no need to call Repaint() immediately after calling Update()
which already calls it.
This commit is contained in:
valid-ptr
2020-05-22 11:29:49 +03:00
committed by Vadim Zeitlin
parent a27a7e084e
commit b9a3d528c0

View File

@@ -4250,7 +4250,6 @@ bool wxAuiManager::DoEndResizeAction(wxMouseEvent& event)
}
Update();
Repaint(NULL);
}
else if (m_actionPart &&
m_actionPart->type == wxAuiDockUIPart::typePaneSizer)
@@ -4418,10 +4417,7 @@ bool wxAuiManager::DoEndResizeAction(wxMouseEvent& event)
dock.panes.Item(borrow_pane)->dock_proportion = prop_borrow;
pane.dock_proportion = new_proportion;
// repaint
Update();
Repaint(NULL);
}
return true;