From: <sv...@ww...> - 2008-02-19 20:53:12
|
Author: nsmoooose Date: 2008-02-19 12:53:02 -0800 (Tue, 19 Feb 2008) New Revision: 2219 Modified: trunk/csp/tools/layout2/scripts/ui/MainFrame.py Log: Small fix for displaying the start.txt file in the layout editor. Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=2219 Modified: trunk/csp/tools/layout2/scripts/ui/MainFrame.py =================================================================== --- trunk/csp/tools/layout2/scripts/ui/MainFrame.py 2008-02-17 14:58:09 UTC (rev 2218) +++ trunk/csp/tools/layout2/scripts/ui/MainFrame.py 2008-02-19 20:53:02 UTC (rev 2219) @@ -82,7 +82,7 @@ # Add the first document to this window. startPage = wx.richtext.RichTextCtrl(documentNotebook) - startPage.GetBuffer().LoadFile("start.txt") + startPage.LoadFile("start.txt") startPage.SetEditable(False) documentNotebook.AddPage(startPage, "Start") |