summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-07-08 15:40:23 -0400
committerLioncash <mathew1800@gmail.com>2014-07-08 15:41:21 -0400
commitd2ddf40ccb67f0228a3d3051cdf60742ff5d66d4 (patch)
treebb952d1a645710b12e1a5ab0ee9f1cfca203f52d /Source/Core
parent3bde3988ebb3663ce26794c61cea2c92e7b49eb5 (diff)
DolphinWX: Bind the drop handling function to the frame with Bind, not Connect.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/Frame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp
index 5284eefd57..3e41b8c7d8 100644
--- a/Source/Core/DolphinWX/Frame.cpp
+++ b/Source/Core/DolphinWX/Frame.cpp
@@ -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)