]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/treectrl.cpp
Adding support for item font/style/color customization, unfortunately, it does not...
[wxWidgets.git] / src / os2 / treectrl.cpp
index 071a1f83e840af58de820ec97d9776db051d04df..9ee999969a98f070b3fdbcf2562fc81f769ad0d2 100644 (file)
     #include "wx/dynarray.h"
     #include "wx/log.h"
     #include "wx/app.h"
+    #include "wx/settings.h"
 #endif
 
 #include "wx/os2/private.h"
 
 #include "wx/imaglist.h"
-#include "wx/settings.h"
 
 // a macro to hide the ugliness of nested casts
 #define HITEM(item)     (HTREEITEM)(WXHTREEITEM)(item)
@@ -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 (