diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-05-17 12:49:00 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-05-17 13:17:43 -0400 |
| commit | 90df5efd01782847f6427efa552b4a2a5a007413 (patch) | |
| tree | cc7d7713471b32e4c31e69ca47895ac7eceea88d /Source/Core/DolphinWX/GeckoCodeDiag.cpp | |
| parent | 5391b2dd9c6fab009daf506d89045ab878c02081 (diff) | |
Get rid of old wx event type usages. Use recommended replacements
Diffstat (limited to 'Source/Core/DolphinWX/GeckoCodeDiag.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/GeckoCodeDiag.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DolphinWX/GeckoCodeDiag.cpp b/Source/Core/DolphinWX/GeckoCodeDiag.cpp index 6a92db2bbd..3e91852b16 100644 --- a/Source/Core/DolphinWX/GeckoCodeDiag.cpp +++ b/Source/Core/DolphinWX/GeckoCodeDiag.cpp @@ -42,8 +42,8 @@ CodeConfigPanel::CodeConfigPanel(wxWindow* const parent) : wxPanel(parent, -1) { m_listbox_gcodes = new wxCheckListBox(this, -1); - m_listbox_gcodes->Bind(wxEVT_COMMAND_LISTBOX_SELECTED, &CodeConfigPanel::UpdateInfoBox, this); - m_listbox_gcodes->Bind(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, &CodeConfigPanel::ToggleCode, this); + m_listbox_gcodes->Bind(wxEVT_LISTBOX, &CodeConfigPanel::UpdateInfoBox, this); + m_listbox_gcodes->Bind(wxEVT_CHECKLISTBOX, &CodeConfigPanel::ToggleCode, this); m_infobox.label_name = new wxStaticText(this, -1, wxGetTranslation(wxstr_name)); m_infobox.label_creator = new wxStaticText(this, -1, wxGetTranslation(wxstr_creator)); @@ -65,7 +65,7 @@ CodeConfigPanel::CodeConfigPanel(wxWindow* const parent) wxBoxSizer* const sizer_buttons = new wxBoxSizer(wxHORIZONTAL); btn_download = new wxButton(this, -1, _("Download Codes (WiiRD Database)"), wxDefaultPosition, wxSize(128, -1)); btn_download->Enable(false); - btn_download->Bind(wxEVT_COMMAND_BUTTON_CLICKED, &CodeConfigPanel::DownloadCodes, this); + btn_download->Bind(wxEVT_BUTTON, &CodeConfigPanel::DownloadCodes, this); sizer_buttons->AddStretchSpacer(1); sizer_buttons->Add(btn_download, 1, wxEXPAND); |
