X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83df96d63a52ebb08b9e32549dc255354b4a18d0..7b4a652a8bf3da1b2dd20dd22c9e6db5dd03db59:/include/wx/x11/dnd.h?ds=inline diff --git a/include/wx/x11/dnd.h b/include/wx/x11/dnd.h index b3944af30c..1af3bacce2 100644 --- a/include/wx/x11/dnd.h +++ b/include/wx/x11/dnd.h @@ -11,7 +11,7 @@ #ifndef _WX_DND_H_ #define _WX_DND_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif @@ -151,7 +151,7 @@ public: ~wxDropSource(void); void SetData( wxDataObject &data ); - wxDragResult DoDragDrop( bool bAllowMove = FALSE ); + wxDragResult DoDragDrop(int flags = wxDrag_CopyOnly); virtual bool GiveFeedback( wxDragResult WXUNUSED(effect), bool WXUNUSED(bScrolling) ) { return TRUE; };