X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5273bf2fd3292ec3ab3da4f0c197b2f0e93df32e..cd28bcaded2c86d6434acf5a647939cd7ecd6bb5:/include/wx/mac/dnd.h?ds=inline 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 ; }