hello
how can I use wx.CallAfter() function instead of
self.GetParent().SetupScrolling(False, True, 0, 20, False) .. like
this? wx.CallAfter(self.GetParent().SetupScrolling, False, True, 0,
20, False)
although I use above code, it still display error
CGContextRestoreGState: invalid context ... on Mac
I refered http://trac.wxwidgets.org/ticket/4272
self.editor.Bind(st.EVT_STC_MODIFIED, self.editor.OnTextChanged)
def OnTextChanged(self, evt):
parent = self.GetParent()
parent.SetupScrolling(False, True, 0, 20, False)
evt.Skip()
Wonjun, Choi