_treeList = [
# new stuff
('Recent Additions/Updates', [
- 'StockButtons',
- 'Ticker',
- 'Choicebook',
- 'ListCtrl_edit',
+ 'StandardPaths',
+ 'MediaCtrl',
]),
# managed windows == things with a (optional) caption you can close
'FloatCanvas',
'HtmlWindow',
'IntCtrl',
+ 'MediaCtrl',
'MVCTree',
'MaskedEditControls',
'MaskedNumCtrl',
'PrintFramework',
'ShapedWindow',
'Sound',
+ 'StandardPaths',
'Unicode',
]),
self.logTime = logTime
def DoLogString(self, message, timeStamp):
- if self.logTime:
- message = time.strftime("%X", time.localtime(timeStamp)) + \
- ": " + message
+ #print message, timeStamp
+ #if self.logTime:
+ # message = time.strftime("%X", time.localtime(timeStamp)) + \
+ # ": " + message
if self.tc:
self.tc.AppendText(message + '\n')
box.Add((10,10), 2)
self.SetSizer(box)
-
+ self.Fit()
#---------------------------------------------------------------------------
def GetText(self):
return self.GetValue()
- def GetPositionFromLine(line):
+ def GetPositionFromLine(self, line):
return self.XYToPosition(0,line)
def GotoLine(self, line):
- pos = self.editor.GetPositionFromLine(line)
- self.editor.SetInsertionPoint(pos)
- self.editor.ShowPosition(pos)
+ pos = self.GetPositionFromLine(line)
+ self.SetInsertionPoint(pos)
+ self.ShowPosition(pos)
def SelectLine(self, line):
start = self.GetPositionFromLine(line)