X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ada083260a7c74b3bd084f6092a298e64a6c6b0f..d642db66a5efc82d374b813022c72ba88bc50839:/include/wx/osx/dnd.h diff --git a/include/wx/osx/dnd.h b/include/wx/osx/dnd.h index b956c42e32..982e41b219 100644 --- a/include/wx/osx/dnd.h +++ b/include/wx/osx/dnd.h @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: wx/mac/carbon/dnd.h +// Name: wx/osx/dnd.h // Purpose: Declaration of the wxDropTarget, wxDropSource class etc. // Author: Stefan Csomor // RCS-ID: $Id$ @@ -55,7 +55,7 @@ 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. + // NOTE: This is needed by the generic wxDataViewCtrl, not sure how to implement. virtual wxDataFormat GetMatchingPair(); bool CurrentDragHasSupportedFormat() ; @@ -96,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;