]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/treectrl.cpp
Add required padding to DoGetBestSize() for small bitmaps when using themes
[wxWidgets.git] / src / msw / treectrl.cpp
index dfd2f6ebecf416666e0b24238c9a22f5f84d5c77..915bfbd020f2ee05070660199394edcd264d9a86 100644 (file)
@@ -1874,7 +1874,7 @@ void wxTreeCtrl::DoEndEditLabel(bool discardChanges)
     DeleteTextCtrl();
 }
 
-wxTreeItemId wxTreeCtrl::DoTreeHitTest(const wxPoint& point, int& flags)
+wxTreeItemId wxTreeCtrl::DoTreeHitTest(const wxPoint& point, int& flags) const
 {
     TV_HITTESTINFO hitTestInfo;
     hitTestInfo.pt.x = (int)point.x;