55 |
self.choice_right_table.Append('Select ...', None) |
self.choice_right_table.Append('Select ...', None) |
56 |
|
|
57 |
for t in session.Tables(): |
for t in session.Tables(): |
58 |
self.choice_left_table.Append(t.transient_table().tablename, t) |
self.choice_left_table.Append(t.transient_table().Title(), t) |
59 |
self.choice_right_table.Append(t.transient_table().tablename, t) |
self.choice_right_table.Append(t.transient_table().Title(), t) |
60 |
|
|
61 |
EVT_CHOICE(self, ID_LEFT_TABLE, self.OnLeftTable) |
EVT_CHOICE(self, ID_LEFT_TABLE, self.OnLeftTable) |
62 |
EVT_CHOICE(self, ID_RIGHT_TABLE, self.OnRightTable) |
EVT_CHOICE(self, ID_RIGHT_TABLE, self.OnRightTable) |
126 |
dlg = wxMessageDialog(None, 'Join failed:\n %s' % exc_value, |
dlg = wxMessageDialog(None, 'Join failed:\n %s' % exc_value, |
127 |
'Info',wxOK|wxICON_ERROR) |
'Info',wxOK|wxICON_ERROR) |
128 |
dlg.ShowModal() |
dlg.ShowModal() |
129 |
dlg.Destroy |
dlg.Destroy() |
130 |
result = False |
result = False |
131 |
|
|
132 |
if result: |
if result: |