70 |
# The button box between the connections list box and the table |
# The button box between the connections list box and the table |
71 |
# list box |
# list box |
72 |
buttons = wxFlexGridSizer(3, 1, 0, 0) |
buttons = wxFlexGridSizer(3, 1, 0, 0) |
73 |
buttons.Add(20, 80, 0, wxEXPAND, 0) |
buttons.Add( (20, 80), 0, wxEXPAND, 0) |
74 |
retrieve_button = wxButton(self, ID_DBCHOOSE_RETRIEVE, _("Retrieve")) |
retrieve_button = wxButton(self, ID_DBCHOOSE_RETRIEVE, _("Retrieve")) |
75 |
EVT_BUTTON(self, ID_DBCHOOSE_RETRIEVE, self.OnRetrieve) |
EVT_BUTTON(self, ID_DBCHOOSE_RETRIEVE, self.OnRetrieve) |
76 |
buttons.Add(retrieve_button, 0, wxALL |
buttons.Add(retrieve_button, 0, wxALL |
77 |
|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 4) |
|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 4) |
78 |
buttons.Add(20, 80, 0, wxEXPAND, 0) |
buttons.Add( (20, 80), 0, wxEXPAND, 0) |
79 |
main_sizer.Add(buttons, 0, wxEXPAND, 0) |
main_sizer.Add(buttons, 0, wxEXPAND, 0) |
80 |
|
|
81 |
# The list box with the tables |
# The list box with the tables |