]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/gizmos/splittree.cpp
compilation fix
[wxWidgets.git] / 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);