Use base implementation of dragAcceptFiles in wxOSX

As is done in wxGTK implementation.

Closes https://github.com/wxWidgets/wxWidgets/pull/1116
This commit is contained in:
Dan Gudmundsson
2019-01-05 13:26:17 +01:00
committed by Vadim Zeitlin
parent eaafd0cb1d
commit 22fc3cff8f
2 changed files with 0 additions and 7 deletions

View File

@@ -125,8 +125,6 @@ public:
#if wxUSE_DRAG_AND_DROP #if wxUSE_DRAG_AND_DROP
virtual void SetDropTarget( wxDropTarget *dropTarget ) wxOVERRIDE; virtual void SetDropTarget( wxDropTarget *dropTarget ) wxOVERRIDE;
// Accept files for dragging
virtual void DragAcceptFiles( bool accept ) wxOVERRIDE;
#endif #endif
// implementation from now on // implementation from now on

View File

@@ -621,11 +621,6 @@ void wxWindowMac::SetDropTarget(wxDropTarget *pDropTarget)
GetPeer()->SetDropTarget(m_dropTarget) ; GetPeer()->SetDropTarget(m_dropTarget) ;
} }
// Old-style File Manager Drag & Drop
void wxWindowMac::DragAcceptFiles(bool WXUNUSED(accept))
{
// TODO:
}
#endif #endif
// From a wx position / size calculate the appropriate size of the native control // From a wx position / size calculate the appropriate size of the native control