X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83df96d63a52ebb08b9e32549dc255354b4a18d0..6a8b0d458663e48152afcf6576a057f5b8ab8be3:/include/wx/motif/dnd.h diff --git a/include/wx/motif/dnd.h b/include/wx/motif/dnd.h index b3944af30c..1af3bacce2 100644 --- a/include/wx/motif/dnd.h +++ b/include/wx/motif/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; };