compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2003-08-02 22:37:49 +00:00
parent bb41dcbe3a
commit 9e00598cad

View File

@ -383,7 +383,7 @@ void wxRemotelyScrolledTreeCtrl::CalcTreeSize(const wxTreeItemId& id, wxRect& re
wxTreeItemIdValue cookie;
wxTreeItemId childId = GetFirstChild(id, cookie);
while (childId != 0)
while (childId)
{
CalcTreeSize(childId, rect);
childId = GetNextChild(childId, cookie);