mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 20:40:11 +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)
|
|
|