mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-31 16:10:07 +01:00
10 lines
278 B
Python
10 lines
278 B
Python
|
|
def GetCurrentChar(self, text_ctrl):
|
|
|
|
pos = text_ctrl.GetInsertionPoint()
|
|
if pos == text_ctrl.GetLastPosition():
|
|
return ''
|
|
|
|
return text_ctrl.GetRange(pos, pos + 1)
|
|
|