equal
deleted
inserted
replaced
82 self.MainSizer.AddSizer(self.ButtonSizer, border=20, |
82 self.MainSizer.AddSizer(self.ButtonSizer, border=20, |
83 flag=wx.ALIGN_RIGHT|wx.BOTTOM|wx.LEFT|wx.RIGHT) |
83 flag=wx.ALIGN_RIGHT|wx.BOTTOM|wx.LEFT|wx.RIGHT) |
84 |
84 |
85 # Save flag that indicates that step is initial |
85 # Save flag that indicates that step is initial |
86 self.Initial = initial |
86 self.Initial = initial |
|
87 |
|
88 # Set default name for step |
|
89 self.StepName.ChangeValue(controller.GenerateNewName( |
|
90 tagname, None, "Step%d", 0)) |
87 |
91 |
88 # Step name text control is default control having keyboard focus |
92 # Step name text control is default control having keyboard focus |
89 self.StepName.SetFocus() |
93 self.StepName.SetFocus() |
90 |
94 |
91 def SetValues(self, values): |
95 def SetValues(self, values): |