]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/treectrl.cpp
Use generic collapsible pane for wxUniv based builds.
[wxWidgets.git] / src / os2 / treectrl.cpp
index 42ec46e5724ecf41da5669bb7017a4e830f6bb41..9ee999969a98f070b3fdbcf2562fc81f769ad0d2 100644 (file)
@@ -1093,7 +1093,7 @@ bool wxTreeCtrl::IsVisible (
     vWxRectContainer.SetTop(vRectContainer.yTop);
     vWxRectContainer.SetRight(vRectContainer.xRight);
     vWxRectContainer.SetBottom(vRectContainer.yBottom);
-    return (vWxRectContainer.Inside(wxPoint(vWxRectRecord.x, vWxRectRecord.y)));
+    return (vWxRectContainer.Contains(wxPoint(vWxRectRecord.x, vWxRectRecord.y)));
 } // end of wxTreeCtrl::IsVisible
 
 bool wxTreeCtrl::ItemHasChildren (