X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4dd9fdf82749bb5f9e2bf9c2ad1bbd59e0eeb00e..61f09f569358d7b2752733c4a24d1bd10daefae2:/include/wx/osx/dnd.h diff --git a/include/wx/osx/dnd.h b/include/wx/osx/dnd.h index dd91f63789..0bb4e9daf9 100644 --- a/include/wx/osx/dnd.h +++ b/include/wx/osx/dnd.h @@ -55,6 +55,8 @@ class WXDLLIMPEXP_CORE wxDropTarget: public wxDropTargetBase virtual bool OnDrop(wxCoord x, wxCoord y); virtual wxDragResult OnData(wxCoord x, wxCoord y, wxDragResult def); virtual bool GetData(); + // NOTE: This is needed by the generic wxDataViewCtrl, not sure how to implement. + virtual wxDataFormat GetMatchingPair(); bool CurrentDragHasSupportedFormat() ; void SetCurrentDragPasteboard( void* dragpasteboard ) { m_currentDragPasteboard = dragpasteboard ; } @@ -94,6 +96,7 @@ public: wxWindow* GetWindow() { return m_window ; } void SetCurrentDragPasteboard( void* dragpasteboard ) { m_currentDragPasteboard = dragpasteboard ; } bool MacInstallDefaultCursor(wxDragResult effect) ; + static wxDropSource* GetCurrentDropSource(); protected : wxWindow *m_window;