X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83df96d63a52ebb08b9e32549dc255354b4a18d0..a5ea75bc6a7e10e71d23ed4a0899bba30c2f5077:/include/wx/x11/dnd.h?ds=sidebyside 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; };