From: Karsten Ballüder Date: Tue, 18 May 1999 15:13:16 +0000 (+0000) Subject: fixed an over-optimisation X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/891ad68ff5ac338d81ea0c4ff176601761e73517 fixed an over-optimisation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/user/wxLayout/wxllist.cpp b/user/wxLayout/wxllist.cpp index 548e6dc268..2f82b52e9d 100644 --- a/user/wxLayout/wxllist.cpp +++ b/user/wxLayout/wxllist.cpp @@ -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;