From: <sir...@us...> - 2003-03-03 22:15:34
|
Update of /cvsroot/btplusplus/BT++/src/DlgMain In directory sc8-pr-cvs1:/tmp/cvs-serv26582/src/DlgMain Modified Files: DlgMain.py Log Message: - Fixed stupid logging bug. - Added colors to the log. Index: DlgMain.py =================================================================== RCS file: /cvsroot/btplusplus/BT++/src/DlgMain/DlgMain.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** DlgMain.py 3 Mar 2003 15:37:07 -0000 1.6 --- DlgMain.py 3 Mar 2003 22:15:29 -0000 1.7 *************** *** 100,104 **** class DlgMainPanel(wxPanel): def __init__(self, parent): ! wxPanel.__init__(self, parent, -1, wxPoint(0,0), wxSize(800,405)) sizer = MaxSizer(self) --- 100,104 ---- class DlgMainPanel(wxPanel): def __init__(self, parent): ! wxPanel.__init__(self, parent, -1, wxPoint(0,0), wxSize(800,405), style = 0) sizer = MaxSizer(self) *************** *** 106,113 **** self.ToolBar = ToolBar(self) sizer.Add(self.ToolBar) ! self.Tabs = { - 'Transfer': TabTrans( self ), 'Log': TabLog( self ), 'History': TabHistory( self ) } --- 106,116 ---- self.ToolBar = ToolBar(self) sizer.Add(self.ToolBar) ! ! # IMPORTANT: ! # TabLog needs to be created first, otherwise ! # the logging doesn't work. self.Tabs = { 'Log': TabLog( self ), + 'Transfer': TabTrans( self ), 'History': TabHistory( self ) } *************** *** 118,121 **** --- 121,125 ---- self.SwitchTab( 'Transfer' ) self.SetSizer(sizer) + ########################################################################################################### |