diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-02-26 12:30:07 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-02-26 12:30:07 +0100 |
| commit | e0a1894928abb8361f959a147066e94e2cda996b (patch) | |
| tree | 1ce31d0dda368d6b1c5527aa28d11543e620ee1e /src/base_tab/BasePanelBF.cpp | |
| parent | 3b6e7d39cf2d03f2e43c249ece6da32f1f8030a7 (diff) | |
Improve database game import
Diffstat (limited to 'src/base_tab/BasePanelBF.cpp')
| -rw-r--r-- | src/base_tab/BasePanelBF.cpp | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/src/base_tab/BasePanelBF.cpp b/src/base_tab/BasePanelBF.cpp index 96ced01..8af03b6 100644 --- a/src/base_tab/BasePanelBF.cpp +++ b/src/base_tab/BasePanelBF.cpp @@ -36,21 +36,12 @@ BasePanelBF::BasePanelBF( wxWindow* parent, wxWindowID id, const wxPoint& pos, c wxBoxSizer* bottom_sizer; bottom_sizer = new wxBoxSizer( wxHORIZONTAL ); - append_choice_label = new wxStaticText( this, wxID_ANY, wxT("Import games from:"), wxDefaultPosition, wxDefaultSize, 0 ); - append_choice_label->Wrap( -1 ); - bottom_sizer->Add( append_choice_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - wxArrayString append_choiceChoices; - append_choice = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, append_choiceChoices, 0 ); - append_choice->SetSelection( 0 ); - bottom_sizer->Add( append_choice, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - append_button = new wxButton( this, wxID_ANY, wxT("Append"), wxDefaultPosition, wxDefaultSize, 0 ); - bottom_sizer->Add( append_button, 0, wxALL, 5 ); - bottom_sizer->Add( 0, 0, 1, wxEXPAND, 5 ); + import_button = new wxButton( this, ID_IMPORT_BUTTON, wxT("Import games"), wxDefaultPosition, wxDefaultSize, 0 ); + bottom_sizer->Add( import_button, 0, wxALL, 5 ); + delete_button = new wxButton( this, ID_DELETE_BUTTON, wxT("Delete selection"), wxDefaultPosition, wxDefaultSize, 0 ); bottom_sizer->Add( delete_button, 0, wxALL, 5 ); |
