698 |
dlg = wxMultipleChoiceDialog(self, _("Pick the table to show:"), |
dlg = wxMultipleChoiceDialog(self, _("Pick the table to show:"), |
699 |
_("Show Table"), |
_("Show Table"), |
700 |
[t.Title() for t in tables], |
[t.Title() for t in tables], |
701 |
size = (400,300), style = wxRESIZE_BORDER) |
size = (400,300), |
702 |
|
style = wxDEFAULT_DIALOG_STYLE | |
703 |
|
wxRESIZE_BORDER) |
704 |
if (dlg.ShowModal() == wxID_OK): |
if (dlg.ShowModal() == wxID_OK): |
705 |
for i in dlg.GetValue(): |
for i in dlg.GetValue(): |
706 |
# XXX: if the table belongs to a layer, open a |
# XXX: if the table belongs to a layer, open a |