]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 2 Aug 2003 22:37:49 +0000 (22:37 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 2 Aug 2003 22:37:49 +0000 (22:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/gizmos/splittree.cpp

index 1c9449bd8851700de305714cb67bec5ac3be844b..a5cf535dccd6dbf74d8a8aea1e93cd3db7bdc7bd 100644 (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);