diff options
| author | skidau <skidau@gmail.com> | 2015-02-27 13:25:46 +1100 |
|---|---|---|
| committer | skidau <skidau@gmail.com> | 2015-02-27 13:25:46 +1100 |
| commit | 2a41ac40721a9104ca8c47996b0c9e5b704722a0 (patch) | |
| tree | a6c584cbb7101c3fad188a79f5dd8f691833f6ba /Source/Core/DolphinWX/Cheats/CreateCodeDialog.cpp | |
| parent | 85359d51690ce71efcd836acab0cec15cc68ac1e (diff) | |
| parent | 2df8190e1ad88e6051cd709641ab2b42a3d251e0 (diff) | |
Merge pull request #2123 from RachelBryk/nonmodal-isoprops
Make iso properties non modal.
Diffstat (limited to 'Source/Core/DolphinWX/Cheats/CreateCodeDialog.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Cheats/CreateCodeDialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/Cheats/CreateCodeDialog.cpp b/Source/Core/DolphinWX/Cheats/CreateCodeDialog.cpp index d5188e34f6..c9766cd2ce 100644 --- a/Source/Core/DolphinWX/Cheats/CreateCodeDialog.cpp +++ b/Source/Core/DolphinWX/Cheats/CreateCodeDialog.cpp @@ -20,9 +20,10 @@ // Fired when an ActionReplay code is created. wxDEFINE_EVENT(UPDATE_CHEAT_LIST_EVENT, wxCommandEvent); -CreateCodeDialog::CreateCodeDialog(wxWindow* const parent, const u32 address) +CreateCodeDialog::CreateCodeDialog(wxWindow* const parent, const u32 address, const std::vector<ActionReplay::ARCode>& _arCodes) : wxDialog(parent, wxID_ANY, _("Create AR Code")) , m_code_address(address) + , arCodes(_arCodes) { wxStaticText* const label_name = new wxStaticText(this, wxID_ANY, _("Name: ")); m_textctrl_name = new wxTextCtrl(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize(256, -1)); |
