Implement wxTextCtrl::HitTest() for single line controls in wxGTK

Use Pango API to find the character at the given position.

Closes #18144.
This commit is contained in:
Vadim Zeitlin
2018-06-03 17:04:06 +02:00
parent 085e4c354a
commit 690b95646b
3 changed files with 50 additions and 4 deletions

View File

@@ -1337,7 +1337,7 @@ public:
parameter is not modified.
Please note that this function is currently only implemented in wxUniv,
wxMSW and wxGTK2 ports and always returns @c wxTE_HT_UNKNOWN in the
wxMSW and wxGTK ports and always returns @c wxTE_HT_UNKNOWN in the
other ports.
@beginWxPerlOnly
@@ -1363,7 +1363,7 @@ public:
parameters are not modified.
Please note that this function is currently only implemented in wxUniv,
wxMSW and wxGTK2 ports and always returns @c wxTE_HT_UNKNOWN in the
wxMSW and wxGTK ports and always returns @c wxTE_HT_UNKNOWN in the
other ports.
@beginWxPerlOnly