fixed an over-optimisation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -601,7 +601,7 @@ wxLayoutLine::RecalculatePositions(int recurse, wxLayoutList *llist)
|
||||
//FIXME: is this really needed? We run Layout() anyway.
|
||||
// Recursing here, drives computation time up exponentially, as
|
||||
// each line will cause all following lines to be recalculated.
|
||||
return;
|
||||
// Yes, or linenumbers go wrong.
|
||||
|
||||
wxASSERT(recurse >= 0);
|
||||
wxPoint pos = m_Position;
|
||||
|
Reference in New Issue
Block a user