Add GetDirect{Function,Pointer}() methods to wxStyledTextCtrl

These methods can be useful when working with dynamic lexers.

Closes #17481.
This commit is contained in:
New Pagodi
2016-04-03 15:48:46 +02:00
committed by Vadim Zeitlin
parent a6e249ea1a
commit 0a3057b83c
6 changed files with 59 additions and 2 deletions

View File

@@ -4019,6 +4019,21 @@ public:
*/
int GetTextLength() const;
/**
Retrieve a pointer to a function that processes messages for this Scintilla.
@since 3.1.1
*/
void* GetDirectFunction() const;
/**
Retrieve a pointer value to use as the first argument when calling
the function returned by GetDirectFunction.
@since 3.1.1
*/
void* GetDirectPointer() const;
/**
Set to overtype (true) or insert mode.
*/