fixed iteration over cells
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -800,7 +800,7 @@ void wxHtmlContainerCell::Layout(int w)
|
|||||||
{
|
{
|
||||||
prev =
|
prev =
|
||||||
next = NULL;
|
next = NULL;
|
||||||
for ( int n = 0; line != cell; line = line->GetNext() )
|
for ( int n = 0; line != cell; prev = line, line = next )
|
||||||
{
|
{
|
||||||
line->SetPos(line->GetPosX() + s_indent +
|
line->SetPos(line->GetPosX() + s_indent +
|
||||||
((n * step) / total),
|
((n * step) / total),
|
||||||
|
Reference in New Issue
Block a user