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