Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #584 from lioncash/bind
DolphinWX: Bind the drop handling function to the frame with Bind, not Connect
  • Loading branch information
lioncash committed Jul 8, 2014
2 parents ff6fa68 + d2ddf40 commit 1f25f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/DolphinWX/Frame.cpp
Expand Up @@ -142,7 +142,7 @@ CRenderFrame::CRenderFrame(wxFrame* parent, wxWindowID id, const wxString& title
SetIcon(IconTemp);

DragAcceptFiles(true);
Connect(wxEVT_DROP_FILES, wxDropFilesEventHandler(CRenderFrame::OnDropFiles), nullptr, this);
Bind(wxEVT_DROP_FILES, &CRenderFrame::OnDropFiles, this);
}

void CRenderFrame::OnDropFiles(wxDropFilesEvent& event)
Expand Down

0 comments on commit 1f25f3c

Please sign in to comment.