mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 12:05:23 +00:00
commit
b930b874fe
2 changed files with 14 additions and 2 deletions
|
@ -120,8 +120,14 @@ VFSManagerDialog::VFSManagerDialog(wxWindow* parent)
|
|||
{
|
||||
m_list = new wxListView(this);
|
||||
|
||||
wxBoxSizer* s_btns = new wxBoxSizer(wxHORIZONTAL);
|
||||
s_btns->Add(new wxButton(this, wxID_OK));
|
||||
s_btns->AddSpacer(30);
|
||||
s_btns->Add(new wxButton(this, wxID_CANCEL));
|
||||
|
||||
wxBoxSizer* s_main = new wxBoxSizer(wxVERTICAL);
|
||||
s_main->Add(m_list, 1, wxEXPAND);
|
||||
s_main->Add(s_btns, 0, wxALL | wxCENTER, 10);
|
||||
|
||||
SetSizerAndFit(s_main);
|
||||
SetSize(800, 600);
|
||||
|
@ -136,7 +142,7 @@ VFSManagerDialog::VFSManagerDialog(wxWindow* parent)
|
|||
Bind(wxEVT_MENU, &VFSManagerDialog::OnAdd, this, id_add);
|
||||
Bind(wxEVT_MENU, &VFSManagerDialog::OnRemove, this, id_remove);
|
||||
Bind(wxEVT_MENU, &VFSManagerDialog::OnEntryConfig, this, id_config);
|
||||
Bind(wxEVT_CLOSE_WINDOW, &VFSManagerDialog::OnClose, this);
|
||||
Bind(wxEVT_CLOSE_WINDOW, &VFSManagerDialog::OnClose, this, wxID_OK);
|
||||
|
||||
LoadEntries();
|
||||
UpdateList();
|
||||
|
|
|
@ -383,8 +383,14 @@ VHDDManagerDialog::VHDDManagerDialog(wxWindow* parent)
|
|||
{
|
||||
m_list = new wxListView(this);
|
||||
|
||||
wxBoxSizer* s_btns = new wxBoxSizer(wxHORIZONTAL);
|
||||
s_btns->Add(new wxButton(this, wxID_OK));
|
||||
s_btns->AddSpacer(30);
|
||||
s_btns->Add(new wxButton(this, wxID_CANCEL));
|
||||
|
||||
wxBoxSizer* s_main = new wxBoxSizer(wxVERTICAL);
|
||||
s_main->Add(m_list, 1, wxEXPAND | wxALL, 5);
|
||||
s_main->Add(s_btns, 0, wxALL | wxCENTER, 10);
|
||||
|
||||
SetSizerAndFit(s_main);
|
||||
SetSize(800, 600);
|
||||
|
@ -400,7 +406,7 @@ VHDDManagerDialog::VHDDManagerDialog(wxWindow* parent)
|
|||
Bind(wxEVT_MENU, &VHDDManagerDialog::OnOpen, this, id_open);
|
||||
Bind(wxEVT_MENU, &VHDDManagerDialog::OnRemove, this, id_remove);
|
||||
Bind(wxEVT_MENU, &VHDDManagerDialog::OnCreateHDD, this, id_create_hdd);
|
||||
Bind(wxEVT_CLOSE_WINDOW, &VHDDManagerDialog::OnClose, this);
|
||||
Bind(wxEVT_CLOSE_WINDOW, &VHDDManagerDialog::OnClose, this, wxID_OK);
|
||||
LoadPaths();
|
||||
UpdateList();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue