('wxPython Library', ['Sizers', 'Layoutf', 'wxScrolledMessageDialog',
'wxMultipleChoiceDialog', 'wxPlotCanvas']),
- ('Cool Contribs', ['pyTree', 'hangman', 'SlashDot']),
+ ('Cool Contribs', ['pyTree', 'hangman', 'SlashDot', 'XMLtreeview']),
]
w, h = self.log.GetClientSizeTuple()
numLines = h/self.charHeight
x, y = self.log.PositionToXY(self.log.GetLastPosition())
- self.log.ShowPosition(self.log.XYToPosition(x, y-numLines+1))
+ self.log.ShowPosition(self.log.XYToPosition(x, y-numLines))
+## self.log.ShowPosition(self.log.GetLastPosition())
+ self.log.SetInsertionPointEnd()
def write(self, txt):
self.WriteText(txt)
# self.txt.WriteText("Cannot open %s file." % filename)
try:
self.txt.SetValue(open(filename).read())
- except IOException:
+ except IOError:
self.txt.WriteText("Cannot open %s file." % filename)