From 891ad68ff5ac338d81ea0c4ff176601761e73517 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Karsten=20Ball=C3=BCder?= Date: Tue, 18 May 1999 15:13:16 +0000 Subject: [PATCH] fixed an over-optimisation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- user/wxLayout/wxllist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.50.0