implement wxWindow::DragAcceptFiles() on all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1027,6 +1027,14 @@ public:
|
||||
// NULL; it's owned by the window and will be deleted by it)
|
||||
virtual void SetDropTarget( wxDropTarget *dropTarget ) = 0;
|
||||
virtual wxDropTarget *GetDropTarget() const { return m_dropTarget; }
|
||||
|
||||
#ifndef __WXMSW__ // MSW version is in msw/window.h
|
||||
#if wxABI_VERSION >= 20810
|
||||
// Accept files for dragging
|
||||
void DragAcceptFiles(bool accept);
|
||||
#endif // wxABI_VERSION >= 20810
|
||||
#endif // !__WXMSW__
|
||||
|
||||
#endif // wxUSE_DRAG_AND_DROP
|
||||
|
||||
// constraints and sizers
|
||||
|
Reference in New Issue
Block a user