plugins/c_ext/c_ext.py
changeset 47 fd45c291fed0
parent 45 00acf2162135
child 49 45dc6a944ab6
--- a/plugins/c_ext/c_ext.py	Tue Sep 18 18:04:07 2007 +0200
+++ b/plugins/c_ext/c_ext.py	Thu Sep 20 17:30:32 2007 +0200
@@ -73,8 +73,8 @@
         lst = self.CFileBaseNames()
 
         dlg = wx.MultiChoiceDialog( self.GetPlugRoot().AppFrame, 
-                                   "Pick some fruit from\nthis list",
-                                   "wx.MultiChoiceDialog", lst)
+                                   "Choose C files to Edit :",
+                                   "Edit", lst)
 
         if (dlg.ShowModal() == wx.ID_OK):
             selections = dlg.GetSelections()
@@ -85,7 +85,7 @@
                         self.SaveCView(sel)
                         self._Views.pop(sel)
                         evt.Skip()
-                    New_View = wx.Frame(self.GetPlugRoot().AppFrame,-1)
+                    New_View = wx.Frame(self.GetPlugRoot().AppFrame,-1,selected)
                     New_View.Bind(wx.EVT_CLOSE, _onclose)
                     ed = CppSTC(New_View, wx.NewId())
                     ed.SetText(open(self.CFileName(selected)).read())