| 18 | |
| 19 | |
| 20 | class TextEntryValidatedDialog(wx.TextEntryDialog): |
| 21 | def __init__(self, parent, validator=None, *args, **kargs): |
| 22 | wx.TextEntryDialog.__init__(self, parent, *args, **kargs) |
| 23 | self.parent = parent |
| 24 | |
| 25 | # See https://github.com/wxWidgets/Phoenix/issues/611 |
| 26 | self.txtctrl = self.FindWindowById(3000, self) |
| 27 | |
| 28 | if validator: |
| 29 | self.txtctrl.SetValidator(validator()) |
| 30 | |
| 31 | |
| 32 | class EntityEditor(wx.Panel): |
no outgoing calls
no test coverage detected