aboutsummaryrefslogtreecommitdiff
path: root/src/base_tab/AppendGameDialogBF.cpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-02-26 12:30:07 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2022-02-26 12:30:07 +0100
commite0a1894928abb8361f959a147066e94e2cda996b (patch)
tree1ce31d0dda368d6b1c5527aa28d11543e620ee1e /src/base_tab/AppendGameDialogBF.cpp
parent3b6e7d39cf2d03f2e43c249ece6da32f1f8030a7 (diff)
Improve database game import
Diffstat (limited to 'src/base_tab/AppendGameDialogBF.cpp')
-rw-r--r--src/base_tab/AppendGameDialogBF.cpp50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/base_tab/AppendGameDialogBF.cpp b/src/base_tab/AppendGameDialogBF.cpp
new file mode 100644
index 0000000..3f777ef
--- /dev/null
+++ b/src/base_tab/AppendGameDialogBF.cpp
@@ -0,0 +1,50 @@
+///////////////////////////////////////////////////////////////////////////
+// C++ code generated with wxFormBuilder (version 3.10.1-40-g8042f487)
+// http://www.wxformbuilder.org/
+//
+// PLEASE DO *NOT* EDIT THIS FILE!
+///////////////////////////////////////////////////////////////////////////
+
+#include "AppendGameDialogBF.h"
+
+///////////////////////////////////////////////////////////////////////////
+
+AppendGameDialogBF::AppendGameDialogBF( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
+{
+ this->SetSizeHints( wxDefaultSize, wxDefaultSize );
+
+ wxBoxSizer* main_sizer;
+ main_sizer = new wxBoxSizer( wxVERTICAL );
+
+ main_label = new wxStaticText( this, wxID_ANY, wxT("Please select games to import:"), wxDefaultPosition, wxDefaultSize, 0 );
+ main_label->Wrap( -1 );
+ main_sizer->Add( main_label, 0, wxALL|wxEXPAND, 5 );
+
+ game_list = new wxListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, wxLB_MULTIPLE );
+ main_sizer->Add( game_list, 1, wxALL|wxEXPAND, 5 );
+
+ wxBoxSizer* bSizer5;
+ bSizer5 = new wxBoxSizer( wxHORIZONTAL );
+
+
+ bSizer5->Add( 0, 0, 1, wxEXPAND, 5 );
+
+ cancel_button = new wxButton( this, ID_DIALOG_CANCEL_BUTTON, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
+ bSizer5->Add( cancel_button, 0, wxALL, 5 );
+
+ import_button = new wxButton( this, ID_DIALOG_IMPORT_BUTTON, wxT("Import"), wxDefaultPosition, wxDefaultSize, 0 );
+ bSizer5->Add( import_button, 0, wxALL, 5 );
+
+
+ main_sizer->Add( bSizer5, 0, wxEXPAND, 5 );
+
+
+ this->SetSizer( main_sizer );
+ this->Layout();
+
+ this->Centre( wxBOTH );
+}
+
+AppendGameDialogBF::~AppendGameDialogBF()
+{
+}