mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
Replace all of Connect/Disconnect with Bind/Unbind.
This commit is contained in:
@ -149,13 +149,11 @@ class CMemcardManager : public wxDialog
|
||||
: wxListCtrl(parent, id, pos, size, style)
|
||||
, __mcmSettings(_mcmSetngs)
|
||||
{
|
||||
Connect(wxEVT_RIGHT_DOWN, wxMouseEventHandler(
|
||||
CMemcardListCtrl::OnRightClick));
|
||||
Bind(wxEVT_RIGHT_DOWN, &CMemcardListCtrl::OnRightClick, this);
|
||||
}
|
||||
~CMemcardListCtrl()
|
||||
{
|
||||
Disconnect(wxEVT_RIGHT_DOWN, wxMouseEventHandler(
|
||||
CMemcardListCtrl::OnRightClick));
|
||||
Unbind(wxEVT_RIGHT_DOWN, &CMemcardListCtrl::OnRightClick, this);
|
||||
}
|
||||
_mcmSettings & __mcmSettings;
|
||||
bool prevPage,
|
||||
|
Reference in New Issue
Block a user