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:
Lioncash 2014-07-08 16:11:08 -04:00
commit 1f25f3c1c9
1 changed files with 1 additions and 1 deletions

View File

@ -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)