]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed EditLabel() for wxLC_REPORT mode
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 8 Oct 2000 22:29:38 +0000 (22:29 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 8 Oct 2000 22:29:38 +0000 (22:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/listctrl.cpp

index b546c685a7517ce1e6a0d5215ed289123a305b3c..8e7857291fd6b88294cb1960d3d50dd880dafb7e 100644 (file)
@@ -768,6 +768,8 @@ void wxListLineData::CalculateSize( wxDC *dc, int spacing )
                 m_bound_all.height = lh;
                 node = node->Next();
             }
+            m_bound_label.width = m_bound_all.width;
+            m_bound_label.height = m_bound_all.height;
             break;
         }
     }