From 22fc3cff8f46c0a62568eaca9718d4f1acda6676 Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Sat, 5 Jan 2019 13:26:17 +0100 Subject: [PATCH] Use base implementation of dragAcceptFiles in wxOSX As is done in wxGTK implementation. Closes https://github.com/wxWidgets/wxWidgets/pull/1116 --- include/wx/osx/window.h | 2 -- src/osx/window_osx.cpp | 5 ----- 2 files changed, 7 deletions(-) diff --git a/include/wx/osx/window.h b/include/wx/osx/window.h index e3d0a08a0a..46ab294af7 100644 --- a/include/wx/osx/window.h +++ b/include/wx/osx/window.h @@ -125,8 +125,6 @@ public: #if wxUSE_DRAG_AND_DROP virtual void SetDropTarget( wxDropTarget *dropTarget ) wxOVERRIDE; - // Accept files for dragging - virtual void DragAcceptFiles( bool accept ) wxOVERRIDE; #endif // implementation from now on diff --git a/src/osx/window_osx.cpp b/src/osx/window_osx.cpp index 5006e35d91..f8643c800b 100644 --- a/src/osx/window_osx.cpp +++ b/src/osx/window_osx.cpp @@ -621,11 +621,6 @@ void wxWindowMac::SetDropTarget(wxDropTarget *pDropTarget) GetPeer()->SetDropTarget(m_dropTarget) ; } -// Old-style File Manager Drag & Drop -void wxWindowMac::DragAcceptFiles(bool WXUNUSED(accept)) -{ - // TODO: -} #endif // From a wx position / size calculate the appropriate size of the native control