#include "wx/timer.h"
#include "wx/settings.h"
#include "wx/listbox.h"
+ #include "wx/textctrl.h"
#endif
#include "wx/generic/treectlg.h"
-#include "wx/textctrl.h"
#include "wx/imaglist.h"
#include "wx/renderer.h"
}
}
-wxTreeItemId wxGenericTreeCtrl::DoTreeHitTest(const wxPoint& point, int& flags)
+wxTreeItemId
+wxGenericTreeCtrl::DoTreeHitTest(const wxPoint& point, int& flags) const
{
- // JACS: removed wxYieldIfNeeded() because it can cause the window
- // to be deleted from under us if a close window event is pending
-
int w, h;
GetSize(&w, &h);
flags=0;