Parent Directory
|
Revision Log
|
Patch
revision 2734 by bramz, Thu Mar 1 12:42:59 2007 UTC | revision 2755 by dpinte, Thu Apr 12 09:21:58 2007 UTC | |
---|---|---|
# | Line 53 class LabelDialog(wx.Dialog): | Line 53 class LabelDialog(wx.Dialog): |
53 | def OnOK(self, event): | def OnOK(self, event): |
54 | result = self.list.GetValue() | result = self.list.GetValue() |
55 | if result is not None: | if result is not None: |
56 | self.end_dialog(wx.ID_OK, str(result)) | self.end_dialog(wx.ID_OK, result) |
57 | else: | else: |
58 | self.end_dialog(wx.ID_CANCEL, None) | self.end_dialog(wx.ID_CANCEL, None) |
59 |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |