Implement DragAcceptFiles() only when wxUSE_DRAG_AND_DROP==1
This virtual method is implemented in wxWindowBase class only when wxUSE_DRAG_AND_DROP==1, so it should be re-implemented in the derived class wxWindowMac also only when wxUSE_DRAG_AND_DROP==1.
This commit is contained in:
@@ -122,10 +122,10 @@ public:
|
||||
|
||||
#if wxUSE_DRAG_AND_DROP
|
||||
virtual void SetDropTarget( wxDropTarget *dropTarget ) wxOVERRIDE;
|
||||
#endif
|
||||
|
||||
// Accept files for dragging
|
||||
virtual void DragAcceptFiles( bool accept ) wxOVERRIDE;
|
||||
#endif
|
||||
|
||||
// implementation from now on
|
||||
// --------------------------
|
||||
|
Reference in New Issue
Block a user