mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-03 08:07:45 +00:00
DolphinWX: Bind the drop handling function to the frame with Bind, not Connect.
This commit is contained in:
parent
3bde3988eb
commit
d2ddf40ccb
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue