mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-31 16:10:07 +01:00
11 lines
278 B
Python
11 lines
278 B
Python
|
|
def GetCurrentChar(textCtrl):
|
|
|
|
pos = textCtrl.GetInsertionPoint()
|
|
|
|
if pos == textCtrl.GetLastPosition():
|
|
return ''
|
|
|
|
return textCtrl.GetValue()[pos]
|
|
|