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:
committed by
Vadim Zeitlin
parent
eaafd0cb1d
commit
22fc3cff8f
@@ -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
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user