]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed an over-optimisation
authorKarsten Ballüder <ballueder@usa.net>
Tue, 18 May 1999 15:13:16 +0000 (15:13 +0000)
committerKarsten Ballüder <ballueder@usa.net>
Tue, 18 May 1999 15:13:16 +0000 (15:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

user/wxLayout/wxllist.cpp

index 548e6dc268aa94c60569e8a507aa934d53cb8839..2f82b52e9def91a6b5ea38c5f5e5a9fbd5da7962 100644 (file)
@@ -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;