t3 = wx.TextCtrl(self, -1,
"Here is a looooooooooooooong line of text set in the control.\n\n"
"The quick brown fox jumped over the lazy dog...",
t3 = wx.TextCtrl(self, -1,
"Here is a looooooooooooooong line of text set in the control.\n\n"
"The quick brown fox jumped over the lazy dog...",
b = wx.Button(self, -1, "Test Replace")
self.Bind(wx.EVT_BUTTON, self.OnTestReplace, b)
b2 = wx.Button(self, -1, "Test GetSelection")
b = wx.Button(self, -1, "Test Replace")
self.Bind(wx.EVT_BUTTON, self.OnTestReplace, b)
b2 = wx.Button(self, -1, "Test GetSelection")
def EvtText(self, event):
self.log.WriteText('EvtText: %s\n' % event.GetString())
def EvtText(self, event):
self.log.WriteText('EvtText: %s\n' % event.GetString())
def EvtChar(self, event):
self.log.WriteText('EvtChar: %d\n' % event.GetKeyCode())
def EvtChar(self, event):
self.log.WriteText('EvtChar: %d\n' % event.GetKeyCode())