X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5273bf2fd3292ec3ab3da4f0c197b2f0e93df32e..f114b8580b980c54e7b6194fe6494a86cb833907:/include/wx/mac/dnd.h?ds=sidebyside diff --git a/include/wx/mac/dnd.h b/include/wx/mac/dnd.h index ee95777c01..e77bb0025a 100644 --- a/include/wx/mac/dnd.h +++ b/include/wx/mac/dnd.h @@ -10,7 +10,7 @@ #ifndef _WX_DND_H_ #define _WX_DND_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "dnd.h" #endif @@ -91,7 +91,7 @@ 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( void* drag ) { m_currentDrag = drag ; }