projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53187e9
)
use wx.CallAfter to set the insertion point
author
Robin Dunn
<robin@alldunn.com>
Sat, 28 May 2005 20:12:22 +0000
(20:12 +0000)
committer
Robin Dunn
<robin@alldunn.com>
Sat, 28 May 2005 20:12:22 +0000
(20:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34388
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
wxPython/demo/TextCtrl.py
patch
|
blob
|
blame
|
history
diff --git
a/wxPython/demo/TextCtrl.py
b/wxPython/demo/TextCtrl.py
index 77fc77b9e5f0b9a3f769e0f724e76d2d883ca32d..1717e52a0220e7c4ebece767ddeee33570facb7f 100644
(file)
--- a/
wxPython/demo/TextCtrl.py
+++ b/
wxPython/demo/TextCtrl.py
@@
-22,7
+22,7
@@
class TestPanel(wx.Panel):
l1 = wx.StaticText(self, -1, "wx.TextCtrl")
t1 = wx.TextCtrl(self, -1, "Test it out and see", size=(125, -1))
-
t1.SetInsertionPoint(
0)
+
wx.CallAfter(t1.SetInsertionPoint,
0)
self.tc1 = t1
self.Bind(wx.EVT_TEXT, self.EvtText, t1)