X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8400ad1ed675bad90d258d97ec1758fc3f668411..c2bbeff0048b6f02bf1ef41edc6c7a3ce148f907:/include/wx/mac/dnd.h diff --git a/include/wx/mac/dnd.h b/include/wx/mac/dnd.h index 746dc91a25..252d237614 100644 --- a/include/wx/mac/dnd.h +++ b/include/wx/mac/dnd.h @@ -61,10 +61,10 @@ class WXDLLEXPORT wxDropTarget: public wxDropTargetBase virtual bool GetData(); bool CurrentDragHasSupportedFormat() ; - void SetCurrentDrag( DragReference drag ) { m_currentDrag = drag ; } - DragReference GetCurrentDrag() { return m_currentDrag ; } + void SetCurrentDrag( void* drag ) { m_currentDrag = drag ; } + void* GetCurrentDrag() { return m_currentDrag ; } protected : - DragReference m_currentDrag ; + void* m_currentDrag ; }; //------------------------------------------------------------------------- @@ -91,14 +91,14 @@ public: ~wxDropSource(); /* start drag action */ - virtual wxDragResult DoDragDrop( bool bAllowMove = FALSE ); + virtual wxDragResult DoDragDrop(int flags = wxDrag_CopyOnly); wxWindow* GetWindow() { return m_window ; } - void SetCurrentDrag( DragReference drag ) { m_currentDrag = drag ; } - DragReference GetCurrentDrag() { return m_currentDrag ; } + void SetCurrentDrag( void* drag ) { m_currentDrag = drag ; } + void* GetCurrentDrag() { return m_currentDrag ; } protected : wxWindow *m_window; - DragReference m_currentDrag ; + void* m_currentDrag ; }; #endif