equal
deleted
inserted
replaced
95 # set the location |
95 # set the location |
96 if not infos["location"].startswith("%"): |
96 if not infos["location"].startswith("%"): |
97 dialog = wx.SingleChoiceDialog(self, |
97 dialog = wx.SingleChoiceDialog(self, |
98 _("Select a variable class:"), _("Variable class"), |
98 _("Select a variable class:"), _("Variable class"), |
99 [_("Input"), _("Output"), _("Memory")], |
99 [_("Input"), _("Output"), _("Memory")], |
100 wx.DEFAULT_DIALOG_STYLE|wx.OK|wx.CANCEL) |
100 wx.DEFAULT_DIALOG_STYLE | wx.OK | wx.CANCEL) |
101 if dialog.ShowModal() == wx.ID_OK: |
101 if dialog.ShowModal() == wx.ID_OK: |
102 selected = dialog.GetSelection() |
102 selected = dialog.GetSelection() |
103 else: |
103 else: |
104 selected = None |
104 selected = None |
105 dialog.Destroy() |
105 dialog.Destroy() |