From 85ed13be75b23116ec310929db30f677acaff310 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 21 Jul 2017 21:51:39 -0700 Subject: [PATCH] Add missing FindCellByPos --- interface/wx/html/htmlcell.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/interface/wx/html/htmlcell.h b/interface/wx/html/htmlcell.h index 085f4afd4c..665de5f5b4 100644 --- a/interface/wx/html/htmlcell.h +++ b/interface/wx/html/htmlcell.h @@ -275,6 +275,17 @@ public: */ virtual const wxHtmlCell* Find(int condition, const void* param) const; + /** + Find a cell inside this cell positioned at the given coordinates + (relative to this's positions). Returns NULL if no such cell exists. + The flag can be used to specify whether to look for terminal or + nonterminal cells or both. In either case, returned cell is deepest + cell in cells tree that contains [x,y]. + */ + virtual wxHtmlCell *FindCellByPos(wxCoord x, wxCoord y, + unsigned flags = wxHTML_FIND_EXACT) const; + + /** Returns descent value of the cell (m_Descent member). See explanation: