X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/410201d988311221211106b0c3c8d6e6a0fd380f..70405f7e3d3a1274d54c05ca8124d8bfb0bc3bb1:/include/wx/window.h diff --git a/include/wx/window.h b/include/wx/window.h index 59e9eabda4..fb66bf004e 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -199,7 +199,7 @@ public: bool DestroyChildren(); // is the window being deleted? - bool IsBeingDeleted() const { return m_isBeingDeleted; } + bool IsBeingDeleted() const; // window attributes // ----------------- @@ -1230,6 +1230,16 @@ 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; } + + // Accept files for dragging + virtual void DragAcceptFiles(bool accept) +#ifdef __WXMSW__ + // it does have common implementation but not for MSW which has its own + // native version of it + = 0 +#endif // __WXMSW__ + ; + #endif // wxUSE_DRAG_AND_DROP // constraints and sizers