equal
deleted
inserted
replaced
169 dialog = wx.MessageDialog(self, message, _("Error"), wx.OK|wx.ICON_ERROR) |
169 dialog = wx.MessageDialog(self, message, _("Error"), wx.OK|wx.ICON_ERROR) |
170 dialog.ShowModal() |
170 dialog.ShowModal() |
171 dialog.Destroy() |
171 dialog.Destroy() |
172 else: |
172 else: |
173 self.EndModal(wx.ID_OK) |
173 self.EndModal(wx.ID_OK) |
|
174 event.Skip() |
174 |
175 |
175 def GetValue(self): |
176 def GetValue(self): |
176 return GetTypeValue[self.IEC_Type](wx.TextEntryDialog.GetValue(self)) |
177 return GetTypeValue[self.IEC_Type](wx.TextEntryDialog.GetValue(self)) |