mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Merge pull request #584 from lioncash/bind
DolphinWX: Bind the drop handling function to the frame with Bind, not Connect
This commit is contained in:
@ -142,7 +142,7 @@ CRenderFrame::CRenderFrame(wxFrame* parent, wxWindowID id, const wxString& title
|
|||||||
SetIcon(IconTemp);
|
SetIcon(IconTemp);
|
||||||
|
|
||||||
DragAcceptFiles(true);
|
DragAcceptFiles(true);
|
||||||
Connect(wxEVT_DROP_FILES, wxDropFilesEventHandler(CRenderFrame::OnDropFiles), nullptr, this);
|
Bind(wxEVT_DROP_FILES, &CRenderFrame::OnDropFiles, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CRenderFrame::OnDropFiles(wxDropFilesEvent& event)
|
void CRenderFrame::OnDropFiles(wxDropFilesEvent& event)
|
||||||
|
Reference in New Issue
Block a user