Implement wxTextCtrl::HitTest() function under wxQt
This commit is contained in:
parent
6d7f9342be
commit
9b2e4ff2e5
2 changed files with 59 additions and 0 deletions
|
|
@ -52,6 +52,14 @@ public:
|
|||
|
||||
virtual void ShowPosition(long pos) override;
|
||||
|
||||
virtual wxTextCtrlHitTestResult HitTest(const wxPoint& pt, long *pos) const override;
|
||||
virtual wxTextCtrlHitTestResult HitTest(const wxPoint& pt,
|
||||
wxTextCoord *col,
|
||||
wxTextCoord *row) const override
|
||||
{
|
||||
return wxTextCtrlBase::HitTest(pt, col, row);
|
||||
}
|
||||
|
||||
virtual void SetInsertionPoint(long pos) override;
|
||||
virtual long GetInsertionPoint() const override;
|
||||
virtual void SetSelection( long from, long to ) override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue