231 |
# The button box between the connections list box and the table |
# The button box between the connections list box and the table |
232 |
# list box |
# list box |
233 |
buttons = wx.FlexGridSizer(3, 1, 0, 0) |
buttons = wx.FlexGridSizer(3, 1, 0, 0) |
234 |
buttons.Add(20, 80, 0, wx.EXPAND, 0) |
buttons.Add((20, 80), 0, wx.EXPAND, 0) |
235 |
retrieve_button = wx.Button(self, ID_DBCHOOSE_RETRIEVE, _("Retrieve")) |
retrieve_button = wx.Button(self, ID_DBCHOOSE_RETRIEVE, _("Retrieve")) |
236 |
wx.EVT_BUTTON(self, ID_DBCHOOSE_RETRIEVE, self.OnRetrieve) |
wx.EVT_BUTTON(self, ID_DBCHOOSE_RETRIEVE, self.OnRetrieve) |
237 |
buttons.Add(retrieve_button, 0, wx.ALL |
buttons.Add(retrieve_button, 0, wx.ALL |
238 |
|wx.ALIGN_CENTER_HORIZONTAL|wx.ALIGN_CENTER_VERTICAL, 4) |
|wx.ALIGN_CENTER_HORIZONTAL|wx.ALIGN_CENTER_VERTICAL, 4) |
239 |
buttons.Add(20, 80, 0, wx.EXPAND, 0) |
buttons.Add((20, 80), 0, wx.EXPAND, 0) |
240 |
main_sizer.Add(buttons, 0, wx.EXPAND, 0) |
main_sizer.Add(buttons, 0, wx.EXPAND, 0) |
241 |
|
|
242 |
# The list box with the tables |
# The list box with the tables |