| 19 |
|
self.parent = parent |
| 20 |
|
wx.Dialog.__init__(self, parent, -1, "Add New Case", style = wx.DEFAULT_DIALOG_STYLE, size = (330,180)) |
| 21 |
|
caseNameLabel = wx.StaticText(self, -1, "Case Name: ") |
| 22 |
< |
self.caseNameTextBox = wx.TextCtrl(self, -1, caseName.split("_(")[0], wx.DefaultPosition, (90,-1)) |
| 22 |
> |
self.caseNameTextBox = wx.TextCtrl(self, -1, "", wx.DefaultPosition, (90,-1)) |
| 23 |
|
clientMatterLabel = wx.StaticText(self, -1, "Client Matter: ") |
| 24 |
|
clientHyphenLabel = wx.StaticText(self, -1, " - ") |
| 25 |
< |
self.clientNumberTextBox = wx.TextCtrl(self.panel, -1, "", wx.DefaultPosition, (52,-1)) |
| 26 |
< |
self.matterNumberTextBox = wx.TextCtrl(self.panel, -1, "", wx.DefaultPosition, (40,-1)) |
| 25 |
> |
self.clientNumberTextBox = wx.TextCtrl(self, -1, "", wx.DefaultPosition, (52,-1)) |
| 26 |
> |
self.matterNumberTextBox = wx.TextCtrl(self, -1, "", wx.DefaultPosition, (40,-1)) |
| 27 |
|
|
| 28 |
|
requiredSectionSizer = wx.GridBagSizer(10,2) |
| 29 |
|
requiredSectionSizer.Add(caseNameLabel,pos = (0,0)) |